diff options
author | Robert Pluim <rpluim@gmail.com> | 2022-09-19 15:53:52 +0200 |
---|---|---|
committer | Robert Pluim <rpluim@gmail.com> | 2022-09-20 17:44:05 +0200 |
commit | 120ade62cd26dd502f1ae3784079e4cd88607a0b (patch) | |
tree | 3077e5fcc56ddf7d4934a3223707c9137d7c1384 /lisp/outline.el | |
parent | 01ceb23372e6af635f57c3ff3a8860b9035df3b0 (diff) | |
download | emacs-120ade62cd26dd502f1ae3784079e4cd88607a0b.tar.gz emacs-120ade62cd26dd502f1ae3784079e4cd88607a0b.tar.bz2 emacs-120ade62cd26dd502f1ae3784079e4cd88607a0b.zip |
Allow keymap to override advertised-binding in docstrings
Previously
(substitute-command-keys "\\<undo-repeat-map>\\[undo]")
would use the global advertised-binding for `undo', even though
there's a binding in `undo-repeat-map', which is highly
counter-intuitive. Now the binding is looked up in the specified
keymap first.
* lisp/help.el (substitute-command-keys): Restrict the initial key
lookup to the specified keymap (if there is one). (Bug#51384)
Diffstat (limited to 'lisp/outline.el')
0 files changed, 0 insertions, 0 deletions