Created
October 4, 2019 13:08
-
-
Save lokedhs/859deb7d8a262424ea86ddf6b63f9bf7 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
(defun em-spacing-predicates (endp delimiter) | |
(not (or (and (eql ?\( delimiter) | |
(eql ?\@ (char-before (point)))) | |
(and (eql ?\" delimiter) | |
(eql ?\p (char-before (point))) | |
(eql ?\# (char-before (1- (point)))))))) | |
(setq paredit-space-for-delimiter-predicates '(em-spacing-predicates)) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment