diff options
| author | Craig Jennings <c@cjennings.net> | 2026-04-22 00:22:23 -0500 |
|---|---|---|
| committer | Craig Jennings <c@cjennings.net> | 2026-04-22 00:22:23 -0500 |
| commit | adac0411a0c1a116ad11ecce17f5e987770d3232 (patch) | |
| tree | cdaa453d0ded2dfdf7f324a3d0d13ca4f4c3fe2b /Makefile | |
| parent | c5c5ad89caee539a0913ee07541cef7f4d508b41 (diff) | |
| download | dotemacs-adac0411a0c1a116ad11ecce17f5e987770d3232.tar.gz dotemacs-adac0411a0c1a116ad11ecce17f5e987770d3232.zip | |
fix: load freshness, wttrin path, compile-time package init
Set load-prefer-newer in early-init.el. Emacs was loading the older .elc files even when the .el source was newer, warning on every load but still using the stale byte code.
Point weather-config.el's wttrin :load-path at /home/cjennings/code/emacs-wttrin. The previous value was /home/cjennings/code/wttrin, which does not exist, so use-package could not load the package.
Add (package-initialize) to the Makefile compile target. Without it, batch byte-compile cannot see ELPA packages like git-gutter, git-timemachine, forge, and difftastic, which produced "Cannot load" warnings on every run.
Diffstat (limited to 'Makefile')
| -rw-r--r-- | Makefile | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -263,6 +263,7 @@ compile: @echo "Byte-compiling all modules..." @$(EMACS_BATCH) -L $(MODULE_DIR) \ --eval "(progn \ + (package-initialize) \ (setq byte-compile-error-on-warn nil) \ (batch-byte-compile))" $(MODULE_FILES) @echo "✓ Compilation complete" |
