aboutsummaryrefslogtreecommitdiff
path: root/modules/custom-datetime.el
diff options
context:
space:
mode:
authorCraig Jennings <c@cjennings.net>2026-05-22 16:09:49 -0500
committerCraig Jennings <c@cjennings.net>2026-05-22 16:09:49 -0500
commit23832737af76b2cda2a2aeaa50e5fc26fd0348ad (patch)
tree584bb795b747e5e49cfd14052eb7727242ab030e /modules/custom-datetime.el
parent759597d42102778e91f7f62ef1b13b9b041efc75 (diff)
downloaddotemacs-23832737af76b2cda2a2aeaa50e5fc26fd0348ad.tar.gz
dotemacs-23832737af76b2cda2a2aeaa50e5fc26fd0348ad.zip
fix(test): make test-name resilient to load-time cwd changes
make test-name loads every test file into one Emacs, then selects by name. test-system-defaults-functions.el requires system-defaults at load, which runs (setq default-directory user-home-dir), an intentional config choice. That leaked the cwd into the shared session, so every relative -l tests/X.el load after it resolved against the wrong directory and aborted the whole run with Error 255. I made two changes. test-name now passes absolute paths to -l so loads survive any cwd change, and the test contains the leak by let-binding default-directory around the require. The production setq stays as is.
Diffstat (limited to 'modules/custom-datetime.el')
0 files changed, 0 insertions, 0 deletions