all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* bug#35767: 26.1; byte compiler lost warning about calling define-key with wrong number of arguments
@ 2019-05-16 21:24 Alex Branham
  2019-05-28  0:59 ` Noam Postavsky
  0 siblings, 1 reply; 3+ messages in thread
From: Alex Branham @ 2019-05-16 21:24 UTC (permalink / raw)
  To: 35767

Save a file with this line somewhere and call it foo.el:

(define-key "l" #'ignore)

Then call:

emacs -Q --eval "(setq byte-compile-error-on-warn t)" -batch -f batch-byte-compile foo.el

it _should_ emit an error since define-key gets called with the wrong
number of arguments. In Emacs 25.3, it does. In Emacs 26.1 and Emacs
built recently from git master, it does not.

Alex





^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2019-05-30 22:51 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2019-05-16 21:24 bug#35767: 26.1; byte compiler lost warning about calling define-key with wrong number of arguments Alex Branham
2019-05-28  0:59 ` Noam Postavsky
2019-05-30 22:51   ` Noam Postavsky

Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.