Skip to content

Commit

Permalink
Makefile: suppress warning for undo-redo being undefined
Browse files Browse the repository at this point in the history
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.
  • Loading branch information
Hi-Angel committed Feb 20, 2024
1 parent 558f50e commit 40a5ac9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down

0 comments on commit 40a5ac9

Please sign in to comment.