all repos — nixfiles @ c1cdde26628ad1ded165b48dbdd9db7390b5fe0b

System and user configuration, managed by nix and home-manager

Emacs: add pair for elisp docstring `+' pairing

Alan Pearce
commit

c1cdde26628ad1ded165b48dbdd9db7390b5fe0b

parent

394c97ecffbd5907619c6fd4c4b9ac8a62ba2288

1 file changed, 2 insertions(+), 0 deletions(-)

changed files
M user/emacs/init.eluser/emacs/init.el
@@ -341,6 +341,8 @@ :config (progn
(add-hook 'javascript-mode-hook (lambda () (define-and-bind-quoted-text-object "slash" "/" "\\/" "\\/") (push '(?\/ . ("/" . "/")) evil-surround-pairs-alist))) + (add-hook 'emacs-lisp-mode-hook (lambda () + (push '(?` . ("`" . "'")) evil-surround-pairs-alist))) (global-evil-surround-mode +1)))