From 06f1e24eda816142e3ea5c951d33f6dbf2c6d264 Mon Sep 17 00:00:00 2001 From: Henrik Lissner Date: Wed, 17 Nov 2021 23:19:10 +0100 Subject: [PATCH] fix: renamed doom-inhibit-local-var-hooks This rename was premature; it snuck into 68d8364. Amend: 68d8364aeaf9 Close: #5755 --- core/core.el | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/core/core.el b/core/core.el index 4d26d2944..4addff89d 100644 --- a/core/core.el +++ b/core/core.el @@ -226,12 +226,12 @@ do)." ;; File+dir local variables are initialized after the major mode and its hooks ;; have run. If you want hook functions to be aware of these customizations, add ;; them to MODE-local-vars-hook instead. -(defvar doom-inhibit-major-mode-post-hooks nil) +(defvar doom-inhibit-local-var-hooks nil) (defun doom-run-local-var-hooks-h () "Run MODE-local-vars-hook after local variables are initialized." - (unless doom-inhibit-major-mode-post-hooks - (setq-local doom-inhibit-major-mode-post-hooks t) + (unless doom-inhibit-local-var-hooks + (setq-local doom-inhibit-local-var-hooks t) (doom-run-hooks (intern (format "%s-local-vars-hook" major-mode))))) ;; If the user has disabled `enable-local-variables', then