diff options
| author | cashmere <cashmere@autistici.org> | 2026-08-13 03:01:41 +0200 |
|---|---|---|
| committer | cashmere <cashmere@autistici.org> | 2026-08-13 03:01:41 +0200 |
| commit | 894fe6ec74947627966384190f501c450789198f (patch) | |
| tree | a974ffddfb59a243d3ba4d466eb0e1cff2c3e7f4 /init.el | |
| parent | fc3760426e1e4a68e4fad4f6dc8fca7297830041 (diff) | |
| download | emacs-894fe6ec74947627966384190f501c450789198f.tar.gz | |
md: 2026-08-13T03:01:41+02:00
Diffstat (limited to 'init.el')
| -rw-r--r-- | init.el | 5 |
1 files changed, 3 insertions, 2 deletions
@@ -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)) |
