bug-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

bug#35767: 26.1; byte compiler lost warning about calling define-key wit


From: Noam Postavsky
Subject: bug#35767: 26.1; byte compiler lost warning about calling define-key with wrong number of arguments
Date: Thu, 30 May 2019 18:51:38 -0400
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/26.2 (gnu/linux)

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






reply via email to

[Prev in Thread] Current Thread [Next in Thread]