From 3d622101cbc73dd909d30bca0b2156eca6222bdb Mon Sep 17 00:00:00 2001 From: Henrik Lissner Date: Tue, 18 Aug 2020 02:43:35 -0400 Subject: [PATCH] Fix #3772: void-variable doom-reloading-p This wasn't necessary in the first place. doom/reload doesn't re-read Doom's core. --- core/core.el | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) diff --git a/core/core.el b/core/core.el index 562bd53ec..5f6a96f4c 100644 --- a/core/core.el +++ b/core/core.el @@ -285,11 +285,10 @@ config.el instead." ;; HACK `comp-eln-load-path' isn't fully respected yet, because native ;; compilation occurs in another emacs process that isn't seeded with our ;; value for `comp-eln-load-path', so we inject it ourselves: - (unless doom-reloading-p ; only apply this once! - (setq comp-async-env-modifier-form - `(progn - ,comp-async-env-modifier-form - (setq comp-eln-load-path ',comp-eln-load-path)))) + (setq comp-async-env-modifier-form + `(progn + ,comp-async-env-modifier-form + (setq comp-eln-load-path ',comp-eln-load-path))) ;; HACK Disable native-compilation for some troublesome packages (add-to-list 'comp-deferred-compilation-black-list "/evil-collection-vterm\\.el\\'"))