diff options
author | Robert Pluim <rpluim@gmail.com> | 2022-09-21 09:12:53 +0200 |
---|---|---|
committer | Robert Pluim <rpluim@gmail.com> | 2022-09-21 09:15:47 +0200 |
commit | cee9a2cbe0cd2cb1af602077727c03f2ae62fa90 (patch) | |
tree | f61fde18b86fa47ae9a49694529442bca2746d1f /lisp/emacs-lisp | |
parent | 5fbf93d918ba85afa8506569328dfc9c510cee42 (diff) | |
download | emacs-cee9a2cbe0cd2cb1af602077727c03f2ae62fa90.tar.gz emacs-cee9a2cbe0cd2cb1af602077727c03f2ae62fa90.tar.bz2 emacs-cee9a2cbe0cd2cb1af602077727c03f2ae62fa90.zip |
Fix substitute-command-keys for global binding lookup
The previous change forgot to account for the (rare) case of doing a
lookup for a global binding when a specific keymap is in force.
* lisp/help.el (substitute-command-keys): Redo lookup in global map if
lookup in specific map fails.
*
test/lisp/help-tests.el (help-tests-substitute-command-keys/keymap-change):
Add testcase for specific map overriding advertised-binding.
Diffstat (limited to 'lisp/emacs-lisp')
0 files changed, 0 insertions, 0 deletions