nil, OVERRIDES will be installed locally in the current buffer. This
later installation should be done in MODE hook."
(declare (obsolete define-mode-local-override "29.1"))
- (with-suppressed-warnings ((wrong-args mode-local-bind))
+ (with-suppressed-warnings ((callargs mode-local-bind))
(mode-local-bind
;; Add the semantic- prefix to OVERLOAD short names.
(mapcar
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', `wrong-args',
+`free-vars', `callargs', `redefine', `obsolete',
`interactive-only', `lexical', `mapcar', `constants' and
`suspicious'.
byte-compile-unresolved-functions)))))
(defun byte-compile-emit-callargs-warn (name actual-args min-args max-args)
- (when (byte-compile-warning-enabled-p 'wrong-args name)
+ (when (byte-compile-warning-enabled-p 'callargs name)
(byte-compile-warn-x
name
"`%s' called with %d argument%s, but %s %s"
\f
(defun byte-compile-subr-wrong-args (form n)
- (when (byte-compile-warning-enabled-p 'wrong-args (car form))
+ (when (byte-compile-warning-enabled-p 'callargs (car form))
(byte-compile-warn-x (car form)
"`%s' called with %d arg%s, but requires %s"
(car form) (length (cdr form))