mirror of
https://github.com/doomemacs/doomemacs.git
synced 2026-01-18 07:01:13 -08:00
fix: *-local-vars-hook trigger fallback
If the user has `enable-local-variables` disabled *-local-vars-hook won't trigger, this allows them to execute even in this context.
This commit is contained in:
parent
645c372885
commit
ea225b0660
1 changed files with 1 additions and 1 deletions
|
|
@ -813,7 +813,7 @@ appropriately against `noninteractive' or the `cli' context."
|
|||
|
||||
;; These fire `MAJOR-MODE-local-vars-hook' hooks, which is a Doomism.
|
||||
;; See the `MODE-local-vars-hook' section above.
|
||||
(add-hook 'after-change-major-mode-hook #'doom-run-local-var-hooks-h 100)
|
||||
(add-hook 'after-change-major-mode-hook #'doom-run-local-var-hooks-maybe-h 100)
|
||||
(add-hook 'hack-local-variables-hook #'doom-run-local-var-hooks-h)
|
||||
|
||||
;; This is the absolute latest a hook can run in Emacs' startup
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue