diff options
author | Case Duckworth | 2021-08-30 22:17:23 -0500 |
---|---|---|
committer | Case Duckworth | 2021-08-30 22:17:23 -0500 |
commit | ee486a1190159e3177a45b470f96fd3f3cfec209 (patch) | |
tree | 27e63be4a434b03e93dae368fe2f1e448854a2b1 | |
parent | Add `:straight-if' setup form (diff) | |
download | emacs-ee486a1190159e3177a45b470f96fd3f3cfec209.tar.gz emacs-ee486a1190159e3177a45b470f96fd3f3cfec209.zip |
Enable lexical binding in a different way in scratch
-rw-r--r-- | init.el | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/init.el b/init.el index 6f3ecb2..483eba3 100644 --- a/init.el +++ b/init.el | |||
@@ -293,7 +293,7 @@ package. This macro is not repeatable." | |||
293 | 293 | ||
294 | (add-hook 'emacs-lisp-mode-hook | 294 | (add-hook 'emacs-lisp-mode-hook |
295 | (defun emacs-lisp@enforce-lexical-binding () | 295 | (defun emacs-lisp@enforce-lexical-binding () |
296 | (setq lexical-binding t))) | 296 | (elisp-enable-lexical-binding))) |
297 | 297 | ||
298 | (add-hook 'emacs-lisp-mode-hook | 298 | (add-hook 'emacs-lisp-mode-hook |
299 | (defun emacs-lisp@imenu-add-setup () | 299 | (defun emacs-lisp@imenu-add-setup () |