summary refs log tree commit diff stats
path: root/emacs/.emacs.d/init.el
diff options
context:
space:
mode:
Diffstat (limited to 'emacs/.emacs.d/init.el')
-rw-r--r--emacs/.emacs.d/init.el4
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