Subject: bug#43617: 27.1; Define-minor-mode keybindings not get precedence over global keymap

From: Andreas Schwab <[email-masked]>
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, [email-masked]
GPG Key fingerprint = 7578 EB47 D4E5 4D69 2510  2552 DF73 E780 A9DA AEC1
"And now for something completely different."