From 394a18096efcfa50f962b5ba785043e67f8ce0c4 Mon Sep 17 00:00:00 2001 From: Henrik Lissner Date: Tue, 18 Aug 2020 20:30:33 -0400 Subject: [PATCH] Disable comp-deferred-compilation in early-init.el --- core/core.el | 3 --- early-init.el | 4 ++++ 2 files changed, 4 insertions(+), 3 deletions(-) diff --git a/core/core.el b/core/core.el index 6901804a9..7c0fc5e11 100644 --- a/core/core.el +++ b/core/core.el @@ -279,9 +279,6 @@ config.el instead." (add-to-list 'comp-eln-load-path (concat doom-cache-dir "eln/"))) (after! comp - ;; Prevent unwanted runtime builds; packages are compiled ahead-of-time when - ;; they are installed and site files are compiled when gccemacs is installed. - (setq comp-deferred-compilation nil) ;; 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: diff --git a/early-init.el b/early-init.el index cf3138571..91c64e5f0 100644 --- a/early-init.el +++ b/early-init.el @@ -26,3 +26,7 @@ ;; in this file and can conflict with later config (particularly where the ;; cursor color is concerned). (advice-add #'x-apply-session-resources :override #'ignore) + +;; Prevent unwanted runtime builds; packages are compiled ahead-of-time when +;; they are installed and site files are compiled when gccemacs is installed. +(setq comp-deferred-compilation nil)