[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
master bcaa63ac50 2/2: * lisp/emacs-lisp/bytecomp.el (format-message): W
|
From: |
Mattias Engdegård |
|
Subject: |
master bcaa63ac50 2/2: * lisp/emacs-lisp/bytecomp.el (format-message): Warn on bad arity. |
|
Date: |
Mon, 16 Jan 2023 13:44:32 -0500 (EST) |
branch: master
commit bcaa63ac506dc070b29db13326801ff978e8b00d
Author: Mattias Engdegård <mattiase@acm.org>
Commit: Mattias Engdegård <mattiase@acm.org>
* lisp/emacs-lisp/bytecomp.el (format-message): Warn on bad arity.
---
lisp/emacs-lisp/bytecomp.el | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/lisp/emacs-lisp/bytecomp.el b/lisp/emacs-lisp/bytecomp.el
index 23d02ba92c..fb4b73b1c1 100644
--- a/lisp/emacs-lisp/bytecomp.el
+++ b/lisp/emacs-lisp/bytecomp.el
@@ -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)