Fixes #3829
Relevant to #3691
This commit is contained in:
Henrik Lissner 2020-08-25 01:57:00 -04:00
parent 6e22a15e43
commit a986621a5f
No known key found for this signature in database
GPG key ID: 5F6C0EA160557395

View file

@ -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 (or doom-inhibit-local-var-hooks revert-buffer-in-progress-p) (unless doom-inhibit-local-var-hooks
(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)))