Do not search the global keymap in project--keymap-prompt
* lisp/progmodes/project.el: (project--keymap-prompt) Pass project--keymap-prompt as a list to where-is-internal so that the global keymap is not searched at all (bug#47501).
This commit is contained in:
parent
20669c1b92
commit
ddc4bba413
1 changed files with 1 additions and 1 deletions
|
@ -1322,7 +1322,7 @@ are legal even if they aren't listed in the dispatch menu."
|
|||
key tmp)))
|
||||
(let ((key (if key
|
||||
(vector key)
|
||||
(where-is-internal cmd project-prefix-map t))))
|
||||
(where-is-internal cmd (list project-prefix-map) t))))
|
||||
(format "[%s] %s"
|
||||
(propertize (key-description key) 'face 'bold)
|
||||
label)))
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue