all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Alex Branham <alex.branham@gmail.com>
To: 35767@debbugs.gnu.org
Subject: bug#35767: 26.1; byte compiler lost warning about calling define-key with wrong number of arguments
Date: Thu, 16 May 2019 16:24:21 -0500	[thread overview]
Message-ID: <87pnoidrei.fsf@gmail.com> (raw)

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





             reply	other threads:[~2019-05-16 21:24 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2019-05-16 21:24 Alex Branham [this message]
2019-05-28  0:59 ` bug#35767: 26.1; byte compiler lost warning about calling define-key with wrong number of arguments Noam Postavsky
2019-05-30 22:51   ` Noam Postavsky

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=87pnoidrei.fsf@gmail.com \
    --to=alex.branham@gmail.com \
    --cc=35767@debbugs.gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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.