Fix #3772: void-variable doom-reloading-p

This wasn't necessary in the first place. doom/reload doesn't re-read
Doom's core.
This commit is contained in:
Henrik Lissner 2020-08-18 02:43:35 -04:00
parent ed25ab76f9
commit 3d622101cb
No known key found for this signature in database
GPG Key ID: 5F6C0EA160557395

View File

@ -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\\'"))