Format string warnings for more functions (bug#71379)
* lisp/emacs-lisp/bytecomp.el (byte-compile-format-like): Add message-box, message-or-box, warn and user-error.
This commit is contained in:
parent
7fbafb9d95
commit
32bfc825a7
1 changed files with 2 additions and 1 deletions
|
@ -1643,7 +1643,8 @@ extra args."
|
|||
nargs (if (= nargs 1) "" "s")
|
||||
nfields (if (= nfields 1) "" "s"))))))
|
||||
|
||||
(dolist (elt '(format message format-message error))
|
||||
(dolist (elt '( format message format-message message-box message-or-box
|
||||
warn error user-error))
|
||||
(put elt 'byte-compile-format-like t))
|
||||
|
||||
;; Warn if the function or macro is being redefined with a different
|
||||
|
|
Loading…
Add table
Reference in a new issue