• Noam Postavsky's avatar
    Warn about wrong number of args for subrs (Bug#35767) · 134edc10
    Noam Postavsky authored
    * lisp/emacs-lisp/bytecomp.el (byte-compile-callargs-warn): Don't
    assume byte-compile-fdefinition will return non-nil.
    * test/lisp/emacs-lisp/bytecomp-tests.el (bytecomp-warn-wrong-args)
    (bytecomp-warn-wrong-args-subr): New tests.
    134edc10
bytecomp-tests.el 23.1 KB