diff options
author | Alan Pearce | 2017-08-04 15:29:00 +0200 |
---|---|---|
committer | Alan Pearce | 2017-08-04 15:29:00 +0200 |
commit | 5029163e7d68416c9b04124467b3084c50f19bb7 (patch) | |
tree | 5878851fb514c2bcc0241ce24154c5506e406956 | |
parent | 979a1c53860c2aa8705084ebaedba2ea8d85665e (diff) | |
download | dotfiles-5029163e7d68416c9b04124467b3084c50f19bb7.tar.lz dotfiles-5029163e7d68416c9b04124467b3084c50f19bb7.tar.zst dotfiles-5029163e7d68416c9b04124467b3084c50f19bb7.zip |
Emacs: Fix smartparens not being disabled in lisp modes
-rw-r--r-- | emacs/.emacs.d/init.el | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/emacs/.emacs.d/init.el b/emacs/.emacs.d/init.el index 5df1f8b..9a93ab2 100644 --- a/emacs/.emacs.d/init.el +++ b/emacs/.emacs.d/init.el @@ -2778,7 +2778,9 @@ (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 |