From 1d24227c1335b8b154d0bd14a34b6db5e8069f02 Mon Sep 17 00:00:00 2001 From: Craig Jennings Date: Sun, 10 May 2026 02:44:32 -0500 Subject: 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. --- Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'Makefile') diff --git a/Makefile b/Makefile index 2006f5f4..498a520a 100644 --- a/Makefile +++ b/Makefile @@ -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 -- cgit v1.2.3