From a986621a5fbd687acdc3ee9ea106780d2c297615 Mon Sep 17 00:00:00 2001 From: Henrik Lissner Date: Tue, 25 Aug 2020 01:57:00 -0400 Subject: [PATCH] Revert 70148bb Fixes #3829 Relevant to #3691 --- core/core.el | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/core/core.el b/core/core.el index e62aa7621..c8cfb0495 100644 --- a/core/core.el +++ b/core/core.el @@ -369,7 +369,7 @@ config.el instead." (defun doom-run-local-var-hooks-h () "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) (run-hook-wrapped (intern-soft (format "%s-local-vars-hook" major-mode)) #'doom-try-run-hook)))