aboutsummaryrefslogtreecommitdiff
path: root/early-init.el
diff options
context:
space:
mode:
authorCraig Jennings <c@cjennings.net>2026-05-26 17:41:32 -0500
committerCraig Jennings <c@cjennings.net>2026-05-26 17:41:32 -0500
commit847276d2310c8f29dd0414de19510beb6fe8ef15 (patch)
tree54d325c844065f97800bab22ce48e05cb37f2105 /early-init.el
parenta173980bef62da6183b035df3882721711dc5699 (diff)
downloaddotemacs-847276d2310c8f29dd0414de19510beb6fe8ef15.tar.gz
dotemacs-847276d2310c8f29dd0414de19510beb6fe8ef15.zip
fix(prog-general): require user-constants for its config constants
prog-general uses code-dir, projects-dir, and snippets-dir (all from user-constants) in its projectile and yasnippet configs, but it only declared them as compile-time defvars and leaned on init.el loading user-constants first. That load-order assumption broke when the test suite ran combined: if another test file loaded prog-general before user-constants, yasnippet's :config hit a void snippets-dir and yas-global-mode never enabled, so eight yas-activation tests failed. I replaced the three compile-time defvars with a runtime (require 'user-constants) so the module declares its real dependency and is self-contained. The combined prog-general suite is now 15/15, and the module no longer depends on init.el's load order for constants it reads at load time.
Diffstat (limited to 'early-init.el')
0 files changed, 0 insertions, 0 deletions