summaryrefslogtreecommitdiff
path: root/lisp/emacs-lisp/byte-run.el
diff options
context:
space:
mode:
authorLars Ingebrigtsen <larsi@gnus.org>2022-05-22 20:06:24 +0200
committerLars Ingebrigtsen <larsi@gnus.org>2022-05-22 20:07:22 +0200
commita0524584e93a66278dcf7bb998398f7484f9e8b5 (patch)
tree410bf5d0418e4878f38d84c96c483d163cfa69d6 /lisp/emacs-lisp/byte-run.el
parentb2a5bf142fb25094ff623dc93d2ce916aee3d971 (diff)
downloademacs-a0524584e93a66278dcf7bb998398f7484f9e8b5.tar.gz
Allow suppressing messages about the wrong number of arguments
* lisp/emacs-lisp/byte-run.el (with-suppressed-warnings): Add `wrong-args'. * lisp/emacs-lisp/bytecomp.el (byte-compile-emit-callargs-warn) (byte-compile-subr-wrong-args): Allow suppressing wrong number of arguments.
Diffstat (limited to 'lisp/emacs-lisp/byte-run.el')
-rw-r--r--lisp/emacs-lisp/byte-run.el2
1 files changed, 1 insertions, 1 deletions
diff --git a/lisp/emacs-lisp/byte-run.el b/lisp/emacs-lisp/byte-run.el
index 0113051c8eb..2d11f350f0b 100644
--- a/lisp/emacs-lisp/byte-run.el
+++ b/lisp/emacs-lisp/byte-run.el
@@ -637,7 +637,7 @@ The warnings that can be suppressed are a subset of the warnings
in `byte-compile-warning-types'; see the variable
`byte-compile-warnings' for a fuller explanation of the warning
types. The types that can be suppressed with this macro are
-`free-vars', `callargs', `redefine', `obsolete',
+`free-vars', `callargs', `redefine', `obsolete', `wrong-args',
`interactive-only', `lexical', `mapcar', `constants' and
`suspicious'.