Fix #3901: unset comp-deferred-compilation later

This commit is contained in:
Henrik Lissner 2020-10-06 02:08:02 -04:00
parent b29b865d30
commit 29b12de83e
No known key found for this signature in database
GPG key ID: 5F6C0EA160557395
2 changed files with 5 additions and 4 deletions

View file

@ -1,5 +1,10 @@
;;; core.el --- the heart of the beast -*- lexical-binding: t; -*- ;;; 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 (eval-when-compile
(when (< emacs-major-version 26) (when (< emacs-major-version 26)
(error "Detected Emacs v%s. Doom only supports Emacs 26 and newer" (error "Detected Emacs v%s. Doom only supports Emacs 26 and newer"

View file

@ -26,7 +26,3 @@
;; in this file and can conflict with later config (particularly where the ;; in this file and can conflict with later config (particularly where the
;; cursor color is concerned). ;; cursor color is concerned).
(advice-add #'x-apply-session-resources :override #'ignore) (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)