emacs-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: master f3aa648: Make `lookup-key' understand the new key sequence sy


From: Stefan Monnier
Subject: Re: master f3aa648: Make `lookup-key' understand the new key sequence syntax
Date: Tue, 19 Oct 2021 10:47:55 -0400
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (gnu/linux)

Lars Ingebrigtsen [2021-10-19 16:17:50] wrote:
> Stefan Monnier <monnier@iro.umontreal.ca> writes:
>> In terms of behavior, no impact:
>>
>>     ELISP> (let ((map (make-sparse-keymap))) (define-key map
>>     ELISP> [C-M-next] 'dummy) map)
>>     (keymap (C-M-next . dummy))
>>
>>     ELISP> (let ((map (make-sparse-keymap))) (define-key map
>>     ELISP> [M-C-next] 'dummy) map)
>>     (keymap (C-M-next . dummy))
>
> Would this just be a simplification of the innards of `define-key', then?

It would move all the canonicalization to a separate function, yes.


        Stefan




reply via email to

[Prev in Thread] Current Thread [Next in Thread]