Skip to content

Commit 40a5ac9

Browse files
committed
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.
1 parent 558f50e commit 40a5ac9

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ compile: $(ELCFILES)
2626
-include .depend
2727

2828
$(ELCFILES): %.elc: %.el
29-
$(EMACS) --batch -Q -L . -f batch-byte-compile $<
29+
$(EMACS) --batch -Q -L . --eval "(declare-function undo-redo nil)" -f batch-byte-compile $<
3030

3131
# Byte-compile all files in one batch. This is faster than
3232
# compiling each file in isolation, but also less stringent.

0 commit comments

Comments
 (0)