[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
bug#51384: 28.0.60; substitute-command-keys finds global binding for und
From: |
Juri Linkov |
Subject: |
bug#51384: 28.0.60; substitute-command-keys finds global binding for undo instead of in specified keymap |
Date: |
Mon, 15 Nov 2021 19:25:16 +0200 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/29.0.50 (x86_64-pc-linux-gnu) |
> Andreas> On Okt 25 2021, Robert Pluim wrote:
> >> (substitute-command-keys "\\<undo-repeat-map>\\[undo]")
> >> => #("C-x u" 0 5 (face help-key-binding font-lock-face
> help-key-binding))
>
> Andreas> :advertised-binding takes precedence.
>
> So it does, which is unfortunate, underdocumented, and unnecessary,
> since just not specifying the map will get you the
> :advertised-binding anyway.
>
> \\(map) anyone, to mean "really only look up in this map"?
For readers of this bug report, here is a link to the discussion:
https://lists.gnu.org/archive/html/emacs-devel/2021-10/msg01845.html
- bug#51384: 28.0.60; substitute-command-keys finds global binding for undo instead of in specified keymap,
Juri Linkov <=