Skip to content

Commit 8748e8b

Browse files
committed
refactor(elisp-mode): make use of +setq-hook!
1 parent 01f6f30 commit 8748e8b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

core/me-builtin.el

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -616,11 +616,11 @@ or file path may exist now."
616616
(+eglot-register '(nxml-mode xml-mode) "lemminx"))
617617

618618
(use-package elisp-mode
619-
:hook (emacs-lisp-mode . (lambda () (setq-local tab-width 8))) ;; to view built-in packages correctly
620619
:after minemacs-first-elisp-file ; prevent elisp-mode from being loaded too early
621620
:init
622621
(+map-local! :keymaps '(emacs-lisp-mode-map lisp-interaction-mode-map ielm-map lisp-mode-map racket-mode-map scheme-mode-map)
623622
"p" #'check-parens)
623+
(+setq-hook! emacs-lisp-mode tab-width 8) ; to view built-in packages correctly
624624
:config
625625
(+map-local! :keymaps '(emacs-lisp-mode-map lisp-interaction-mode-map)
626626
"d" '(nil :wk "edebug")

0 commit comments

Comments
 (0)