aboutsummaryrefslogtreecommitdiff
path: root/early-init.el
diff options
context:
space:
mode:
Diffstat (limited to 'early-init.el')
-rw-r--r--early-init.el8
1 files changed, 8 insertions, 0 deletions
diff --git a/early-init.el b/early-init.el
index c1cd54c8..9f90f292 100644
--- a/early-init.el
+++ b/early-init.el
@@ -65,6 +65,14 @@
(setq native-comp-deferred-compilation nil) ;; Disable async/deferred compilation
(setq native-comp-async-report-warnings-errors nil) ;; Silence async warnings
+;; ------------------------------- Load Freshness ------------------------------
+;; Prefer newer .el source over stale .elc byte-compiled files. Without this,
+;; Emacs loads the .elc even when the .el has been modified more recently and
+;; only emits a warning. Setting this in early-init.el ensures init.el itself
+;; also benefits.
+
+(setq load-prefer-newer t)
+
;; --------------------------- Warning Notifications ---------------------------
;; skip warnings but notify me about errors