From 894fe6ec74947627966384190f501c450789198f Mon Sep 17 00:00:00 2001 From: cashmere Date: Thu, 13 Aug 2026 03:01:41 +0200 Subject: md: 2026-08-13T03:01:41+02:00 --- init.el | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'init.el') diff --git a/init.el b/init.el index 638d947..d827b9a 100644 --- a/init.el +++ b/init.el @@ -84,8 +84,9 @@ (require 'ob-tangle) (let ((gc-cons-threshold most-positive-fixnum)) (org-babel-tangle-file org-file el-file "emacs-lisp"))) - ;; Prefer .elc when present; native-compile asynchronously in the background. - (load (file-name-sans-extension el-file) nil 'nomessage) + ;; Load the generated source directly. A stale `config.elc' can otherwise + ;; shadow a freshly tangled `config.el' and break startup with old code. + (load el-file nil 'nomessage) (when (and (featurep 'native-compile) (fboundp 'native-comp-available-p) (native-comp-available-p)) -- cgit v1.3.1