We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent fbc5f99 commit d79c5feCopy full SHA for d79c5fe
Makefile
@@ -25,8 +25,12 @@ compile: $(ELCFILES)
25
26
-include .depend
27
28
+# These functions are only part of newer Emacs, but they cause byte-compilation
29
+# warnings on older ones. So pre-declare them to suppress these warnings
30
+OLDER_EMACS_DEFUNS = "(progn (defun undo-redo ()) (defun minibuffer-history-value()) (defun switch-to-minibuffer()))"
31
+
32
$(ELCFILES): %.elc: %.el
- $(EMACS) --batch -Q -L . -f batch-byte-compile $<
33
+ $(EMACS) --batch -Q -L . --eval $(OLDER_EMACS_DEFUNS) -f batch-byte-compile $<
34
35
# Byte-compile all files in one batch. This is faster than
36
# compiling each file in isolation, but also less stringent.
0 commit comments