parent
06c6946742
commit
70148bbfc8
1 changed files with 1 additions and 1 deletions
|
@ -369,7 +369,7 @@ config.el instead."
|
||||||
|
|
||||||
(defun doom-run-local-var-hooks-h ()
|
(defun doom-run-local-var-hooks-h ()
|
||||||
"Run MODE-local-vars-hook after local variables are initialized."
|
"Run MODE-local-vars-hook after local variables are initialized."
|
||||||
(unless doom-inhibit-local-var-hooks
|
(unless (or doom-inhibit-local-var-hooks revert-buffer-in-progress-p)
|
||||||
(set (make-local-variable 'doom-inhibit-local-var-hooks) t)
|
(set (make-local-variable 'doom-inhibit-local-var-hooks) t)
|
||||||
(run-hook-wrapped (intern-soft (format "%s-local-vars-hook" major-mode))
|
(run-hook-wrapped (intern-soft (format "%s-local-vars-hook" major-mode))
|
||||||
#'doom-try-run-hook)))
|
#'doom-try-run-hook)))
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue