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 | c5c815eb3701c8d5a900020ae10c88cb21535cab (patch) | |
| tree | 7b7a7137ab07478da943da36d453de7375e4baa0 /modules | |
| parent | be439e6feb1b27460ed10f3eb6b49f403188031d (diff) | |
| download | dotemacs-c5c815eb3701c8d5a900020ae10c88cb21535cab.tar.gz dotemacs-c5c815eb3701c8d5a900020ae10c88cb21535cab.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 'modules')
| -rw-r--r-- | modules/weather-config.el | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/weather-config.el b/modules/weather-config.el index bf71ef9cf..0b15021b2 100644 --- a/modules/weather-config.el +++ b/modules/weather-config.el @@ -14,7 +14,7 @@ ;; Uncomment the next line to use vc-install instead of local directory: ;; :vc (:url "https://github.com/cjennings/emacs-wttrin" :rev :newest) :demand t ;; REQUIRED: mode-line must start at Emacs startup - :load-path "/home/cjennings/code/wttrin" + :load-path "/home/cjennings/code/emacs-wttrin" :preface ;; Change this to t to enable debug logging ;; (setq wttrin-debug t) |
