Emacs: Fix smartparens not being disabled in lisp modes
Alan Pearce alan@alanpearce.eu
Fri, 04 Aug 2017 15:29:00 +0200
1 files changed, 3 insertions(+), 1 deletions(-)
jump to
M emacs/.emacs.d/init.el → emacs/.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