all repos — nixfiles @ 5029163e7d68416c9b04124467b3084c50f19bb7

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

Emacs: Fix smartparens not being disabled in lisp modes

Alan Pearce
commit

5029163e7d68416c9b04124467b3084c50f19bb7

parent

979a1c53860c2aa8705084ebaedba2ea8d85665e

1 file changed, 3 insertions(+), 1 deletion(-)

jump to
M emacs/.emacs.d/init.elemacs/.emacs.d/init.el
@@ -2778,7 +2778,9 @@ (sp-local-pair "{%" "%}")
(sp-local-pair "{{" "}}")) (show-smartparens-global-mode t) (smartparens-global-strict-mode t) - (add-hook 'lisp-mode-common-hook #'turn-off-smartparens-mode) + (define-hook-helper lisp-mode-common () + (smartparens-strict-mode -1) + (smartparens-mode -1)) (add-hook 'coffee-mode-hook #'turn-off-smartparens-mode))) ;; #+END_SRC