summary refs log tree commit diff stats
diff options
context:
space:
mode:
authorCase Duckworth2021-08-30 22:17:23 -0500
committerCase Duckworth2021-08-30 22:17:23 -0500
commitee486a1190159e3177a45b470f96fd3f3cfec209 (patch)
tree27e63be4a434b03e93dae368fe2f1e448854a2b1
parentAdd `:straight-if' setup form (diff)
downloademacs-ee486a1190159e3177a45b470f96fd3f3cfec209.tar.gz
emacs-ee486a1190159e3177a45b470f96fd3f3cfec209.zip
Enable lexical binding in a different way in scratch
-rw-r--r--init.el2
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 ()