From: Andreas Schwab <schwab@linux-m68k.org>
To: Drew Adams <drew.adams@oracle.com>
Cc: 43617@debbugs.gnu.org, Lars Ingebrigtsen <larsi@gnus.org>,
dalanicolai@gmail.com
Subject: bug#43617: 27.1; Define-minor-mode keybindings not get precedence over global keymap
Date: Sat, 26 Sep 2020 17:32:50 +0200 [thread overview]
Message-ID: <87h7rk1rkt.fsf@igel.home> (raw)
In-Reply-To: <59b95abb-1c57-4a94-b6e0-7f4bdeef72ee@default> (Drew Adams's message of "Sat, 26 Sep 2020 08:25:37 -0700 (PDT)")
On Sep 26 2020, Drew Adams wrote:
> The cons ((kbd "C-n") . 'foo) is exactly such a
> (KEY . BINDING) pair - both KEY and BINDING are
> suitable arguments for `define-key'.
Is it?
ELISP> (define-key global-map '(kbd "C-n") ''foo)
*** Eval error *** Wrong type argument: arrayp, (kbd "C-n")
Andreas.
--
Andreas Schwab, schwab@linux-m68k.org
GPG Key fingerprint = 7578 EB47 D4E5 4D69 2510 2552 DF73 E780 A9DA AEC1
"And now for something completely different."
next prev parent reply other threads:[~2020-09-26 15:32 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2020-09-25 18:10 bug#43617: 27.1; Define-minor-mode keybindings not get precedence over global keymap dalanicolai
2020-09-26 14:04 ` Lars Ingebrigtsen
2020-09-26 14:09 ` Lars Ingebrigtsen
2020-09-26 15:25 ` Drew Adams
2020-09-26 15:32 ` Andreas Schwab [this message]
2020-09-26 16:04 ` Drew Adams
2020-09-27 11:00 ` dalanicolai
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=87h7rk1rkt.fsf@igel.home \
--to=schwab@linux-m68k.org \
--cc=43617@debbugs.gnu.org \
--cc=dalanicolai@gmail.com \
--cc=drew.adams@oracle.com \
--cc=larsi@gnus.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.