emacs-devel
[Top][All Lists]
Advanced

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

Re: keymap.el and its checks


From: Stefan Monnier
Subject: Re: keymap.el and its checks
Date: Sun, 02 Oct 2022 20:48:16 -0400
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/29.0.50 (gnu/linux)

> I saw this change from Stefan:
> 570a11052b * keymap.el: Ease up support for non-`kbd` formats.
>
> and thought this would let me write 
> (push repeat-exit-key unread-command-events)

No relation.
As for your problem: `unread-command-events` is defined tpo hold a list
of events.  `repeat-exit-key` is supposed to contain a key-sequence
(more or less an array of keys).  Keys and events are somewhat similar
so you can use keys as events.  But a key *sequence* is definitely not
an events.

You can use `listify-key-sequence`to turn the key sequence into a
list of keys, and then use `append`.


        Stefan




reply via email to

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