Skip to content

Commit

Permalink
refactor(elisp-mode): make use of +setq-hook!
Browse files Browse the repository at this point in the history
  • Loading branch information
abougouffa committed Dec 24, 2023
1 parent 01f6f30 commit 8748e8b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion core/me-builtin.el
Original file line number Diff line number Diff line change
Expand Up @@ -616,11 +616,11 @@ or file path may exist now."
(+eglot-register '(nxml-mode xml-mode) "lemminx"))

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

0 comments on commit 8748e8b

Please sign in to comment.