From 40a5ac9480a16214f8a4cbed4e435e2834c40644 Mon Sep 17 00:00:00 2001 From: Konstantin Kharlamov Date: Tue, 20 Feb 2024 21:34:49 +0300 Subject: [PATCH] Makefile: suppress warning for undo-redo being undefined It is part of the newer Emacs, but on the older ones it causes warnings. There's no tests of that functionality, so just suppress the warning. --- Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Makefile b/Makefile index 2144a921..755845a0 100644 --- a/Makefile +++ b/Makefile @@ -26,7 +26,7 @@ compile: $(ELCFILES) -include .depend $(ELCFILES): %.elc: %.el - $(EMACS) --batch -Q -L . -f batch-byte-compile $< + $(EMACS) --batch -Q -L . --eval "(declare-function undo-redo nil)" -f batch-byte-compile $< # Byte-compile all files in one batch. This is faster than # compiling each file in isolation, but also less stringent.