[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: |
Robert Pluim |
Subject: |
bug#51384: 28.0.60; substitute-command-keys finds global binding for undo instead of in specified keymap |
Date: |
Mon, 25 Oct 2021 12:39:14 +0200 |
>>>>> On Mon, 25 Oct 2021 12:16:12 +0200, Andreas Schwab
>>>>> <schwab@linux-m68k.org> said:
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"?
Robert
--