diff --git a/core/core.el b/core/core.el index 6ac54ac22..378ba8a28 100644 --- a/core/core.el +++ b/core/core.el @@ -1,5 +1,10 @@ ;;; core.el --- the heart of the beast -*- lexical-binding: t; -*- +;; Prevent unwanted runtime builds in gccemacs (native-comp); packages are +;; compiled ahead-of-time when they are installed and site files are compiled +;; when gccemacs is installed. +(setq comp-deferred-compilation nil) + (eval-when-compile (when (< emacs-major-version 26) (error "Detected Emacs v%s. Doom only supports Emacs 26 and newer" diff --git a/early-init.el b/early-init.el index 91c64e5f0..cf3138571 100644 --- a/early-init.el +++ b/early-init.el @@ -26,7 +26,3 @@ ;; 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)