Subject: Re: bug#35767: 26.1; byte compiler lost warning about calling define-key with wrong number of arguments

From: Noam Postavsky <[email-masked]>
Date: Thu, 30 May 2019 18:51:38 -0400

tags 35767 fixed
close 35767 26.3
quit

> Subject: [PATCH] Warn about wrong number of args for subrs (Bug#35767)
>
> * 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.

Pushed to emacs-26.

134edc1036 2019-05-30T18:46:07-04:00 "Warn about wrong number of args for subrs (Bug#35767)"
https://git.savannah.gnu.org/cgit/emacs.git/commit/?id=134edc10367a8434167656e631865c85b5f10c42