diff options
| author | Craig Jennings <c@cjennings.net> | 2026-04-19 12:44:29 -0500 |
|---|---|---|
| committer | Craig Jennings <c@cjennings.net> | 2026-04-19 12:44:29 -0500 |
| commit | 42086f187958249afc61c7eaa1c10e4ebbfd9238 (patch) | |
| tree | ad74780970116c0a2666010ecc81ad09d83031f8 /security-check/SKILL.md | |
| parent | bd6881adbe25272278031b419bedd5811ef3828c (diff) | |
| download | rulesets-42086f187958249afc61c7eaa1c10e4ebbfd9238.tar.gz rulesets-42086f187958249afc61c7eaa1c10e4ebbfd9238.zip | |
fix(elisp): call package-initialize so byte-compile finds deps
Byte-compile needs external packages on the load path to resolve
(require ...) forms in project files. Without this, any project using
MELPA/ELPA packages (dash, s, etc.) failed Phase 1 with "Cannot open
load file".
package-initialize reads package-user-dir (default ~/.emacs.d/elpa)
and exposes installed package autoloads. Small latency cost (~100ms)
but makes the hook work on real projects.
Verified:
- chime.el (requires dash) now byte-compiles cleanly; was failing.
- emacs.d modules still pass; no regression.
Diffstat (limited to 'security-check/SKILL.md')
0 files changed, 0 insertions, 0 deletions
