Skip to content

Commit

Permalink
make: Suppress a new warning
Browse files Browse the repository at this point in the history
In Emacs 30 the advertised signature of `derived-mode-p' was changed
from (&rest modes) to (modes).  The old calling convention is still
supported, and we have no choice but to keep using that for a few
more releases.
  • Loading branch information
tarsius committed Dec 2, 2023
1 parent b6507eb commit 98270f5
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions borg.mk
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,7 @@ EMACS_EXTRA ?=

SILENCIO = --load subr-x
SILENCIO += --eval "(setq byte-compile-warnings '(not docstrings))"
SILENCIO += --eval "(remhash (indirect-function 'derived-mode-p) advertised-signature-table))"
SILENCIO += --eval "(fset 'original-message (symbol-function 'message))"
SILENCIO += --eval "(fset 'message\
(lambda (format &rest args)\
Expand Down

0 comments on commit 98270f5

Please sign in to comment.