Function: byte-compile-emit-callargs-warn
byte-compile-emit-callargs-warn is a byte-compiled function defined in
bytecomp.el.gz.
Signature
(byte-compile-emit-callargs-warn NAME ACTUAL-ARGS MIN-ARGS MAX-ARGS)
Source Code
;; Defined in /usr/src/emacs/lisp/emacs-lisp/bytecomp.el.gz
(defun byte-compile-emit-callargs-warn (name actual-args min-args max-args)
(byte-compile-set-symbol-position name)
(byte-compile-warn
"%s called with %d argument%s, but %s %s"
name actual-args
(if (= 1 actual-args) "" "s")
(if (< actual-args min-args)
"requires"
"accepts only")
(byte-compile-arglist-signature-string (cons min-args max-args))))