* lisp/emacs-lisp/bytecomp.el (format-message): Warn on bad arity.

This commit is contained in:
Mattias Engdegård 2023-01-12 15:38:15 +01:00
parent 2a85d7a07c
commit bcaa63ac50

View file

@ -1575,7 +1575,7 @@ extra args."
"`%s' called with %d args to fill %d format field(s)" (car form)
nargs nfields)))))
(dolist (elt '(format message error))
(dolist (elt '(format message format-message error))
(put elt 'byte-compile-format-like t))
(defun byte-compile--suspicious-defcustom-choice (type)