From 1d0f1575aa64a6207912d2ba7fcdbdceed7b153e Mon Sep 17 00:00:00 2001 From: Andrew Whatson Date: Thu, 8 Oct 2020 09:04:55 +1000 Subject: [PATCH] Remove `comp-eln-load-path` injection hack This was fixed upstream, so comp-eln-load-path is now passed to async compilation workers. --- core/core.el | 7 ------- 1 file changed, 7 deletions(-) diff --git a/core/core.el b/core/core.el index 378ba8a28..a0b6e636d 100644 --- a/core/core.el +++ b/core/core.el @@ -284,13 +284,6 @@ config.el instead." (add-to-list 'comp-eln-load-path (concat doom-cache-dir "eln/"))) (after! comp - ;; 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: - (setq comp-async-env-modifier-form - `(progn - ,comp-async-env-modifier-form - (setq comp-eln-load-path ',(bound-and-true-p comp-eln-load-path)))) ;; HACK Disable native-compilation for some troublesome packages (add-to-list 'comp-deferred-compilation-black-list "/evil-collection-vterm\\.el\\'"))