|
From: | Juri Linkov |
Subject: | Re: bug#49265: [External] : bug#49265: 28.0.50; repeat mode feature request |
Date: | Mon, 25 Oct 2021 20:54:03 +0300 |
User-agent: | Gnus/5.13 (Gnus v5.13) Emacs/29.0.50 (x86_64-pc-linux-gnu) |
>>> BTW, I tried using 'substitute-command-keys' to do this, since itʼs >>> more elegant, but it gave an unusual result for undo: >>> >>> (substitute-command-keys "\\<undo-repeat-map>\\[undo]") >>> =>#("C-x u" 0 5 >>> (font-lock-face help-key-binding face help-key-binding)) >> >> That looks like a bug to me. > > This is due to :advertised-binding. Maybe 'where-is-internal' should check if the map contains the advertised binding, only then return it?
[Prev in Thread] | Current Thread | [Next in Thread] |