diff options
-rw-r--r-- | init.el | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/init.el b/init.el index b6e73ba..4c3bcdb 100644 --- a/init.el +++ b/init.el | |||
@@ -182,10 +182,9 @@ | |||
182 | eval-expression-print-level nil | 182 | eval-expression-print-level nil |
183 | lisp-indent-function #'lisp-indent-function) | 183 | lisp-indent-function #'lisp-indent-function) |
184 | 184 | ||
185 | (defun acdw/enforce-lexical-binding () | 185 | (add-hook 'emacs-lisp-mode-hook |
186 | (setq lexical-binding t)) | 186 | (defun emacs-lisp@enforce-lexical-binding () |
187 | 187 | (setq lexical-binding t))) | |
188 | (add-hook 'emacs-lisp-mode-hook #'acdw/enforce-lexical-binding) | ||
189 | 188 | ||
190 | (defun acdw/eval-region-or-buffer () | 189 | (defun acdw/eval-region-or-buffer () |
191 | (interactive) | 190 | (interactive) |