diff options
| author | Craig Jennings <c@cjennings.net> | 2026-05-26 17:41:32 -0500 |
|---|---|---|
| committer | Craig Jennings <c@cjennings.net> | 2026-05-26 17:41:32 -0500 |
| commit | de13477e72c5fb3aef083335022e87a7b84f4f37 (patch) | |
| tree | b2094707f460ee05dfaa2eadce72fe8c427c1854 /tests/test-integration-recording-modeline-sync.el | |
| parent | c924c83f92bd02ac980799865af3ef5542d64071 (diff) | |
| download | dotemacs-de13477e72c5fb3aef083335022e87a7b84f4f37.tar.gz dotemacs-de13477e72c5fb3aef083335022e87a7b84f4f37.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 'tests/test-integration-recording-modeline-sync.el')
0 files changed, 0 insertions, 0 deletions
