GNU bug report logs - #43617
27.1; Define-minor-mode keybindings not get precedence over global keymap

Previous Next

Package: emacs;

Reported by: dalanicolai <at> gmail.com

Date: Fri, 25 Sep 2020 18:11:02 UTC

Severity: normal

Tags: notabug

Found in version 27.1

Done: Lars Ingebrigtsen <larsi <at> gnus.org>

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: Andreas Schwab <schwab <at> linux-m68k.org>
To: Drew Adams <drew.adams <at> oracle.com>
Cc: 43617 <at> debbugs.gnu.org, Lars Ingebrigtsen <larsi <at> gnus.org>, dalanicolai <at> 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
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 <at> linux-m68k.org
GPG Key fingerprint = 7578 EB47 D4E5 4D69 2510  2552 DF73 E780 A9DA AEC1
"And now for something completely different."




This bug report was last modified 4 years and 289 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.