[Top][All Lists]

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

Re: Moving kbd to subr.el

From: Stefan Monnier
Subject: Re: Moving kbd to subr.el
Date: Mon, 18 Oct 2021 11:53:36 -0400
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (gnu/linux)

> I'm looking at a fragment like this:
>    "P"         #'cvs-status-prev
> -  (kbd "M-n") #'cvs-status-next
> -  (kbd "M-p") #'cvs-status-prev
> +  ["M-n"]     #'cvs-status-next
> +  ["M-p"]     #'cvs-status-prev
>    "t"         #'cvs-status-cvstrees

Indeed, it seems if the plan is to promote the `kbd` syntax (which
seems to be what we're doing, both by making `kbd` usable in preloaded
code, or by adding the ["..."] alternative syntax for it), then it makes
sense for `define-keymap` to interpret all strings as `kbd` syntax
(i.e. not support the old string syntax at all).


reply via email to

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