diff options
| author | Craig Jennings <c@cjennings.net> | 2026-05-10 02:44:32 -0500 |
|---|---|---|
| committer | Craig Jennings <c@cjennings.net> | 2026-05-10 02:44:32 -0500 |
| commit | 923fa6688251a80ad9743b338a663203bcc74836 (patch) | |
| tree | 4721299785ccafd16632043716e2b2b910272a9d /Makefile | |
| parent | f3072b3bf2c188df863148b68bc709cfedbac607 (diff) | |
| download | dotemacs-923fa6688251a80ad9743b338a663203bcc74836.tar.gz dotemacs-923fa6688251a80ad9743b338a663203bcc74836.zip | |
Make batch Emacs prefer newer sources
Set load-prefer-newer for Makefile batch/test invocations. This matches normal startup and keeps tests from accidentally loading stale .elc files instead of the edited source.
Diffstat (limited to 'Makefile')
| -rw-r--r-- | Makefile | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -35,7 +35,7 @@ ALL_TESTS = $(UNIT_TESTS) $(INTEGRATION_TESTS) MODULE_FILES = $(wildcard $(MODULE_DIR)/*.el) # Emacs batch flags -EMACS_BATCH = $(EMACS) --batch --no-site-file --no-site-lisp +EMACS_BATCH = $(EMACS) --batch --no-site-file --no-site-lisp --eval '(setq load-prefer-newer t)' EMACS_TEST = $(EMACS_BATCH) -L $(TEST_DIR) -L $(MODULE_DIR) # No colors - using plain text symbols instead |
