Handle anonymous commands in C-h K
* lisp/info.el (Info-goto-emacs-key-command-node): Don't call Info-goto-emacs-command-node for anonymous commands. (Bug#61505)
This commit is contained in:
parent
c12166de38
commit
9eed00c8e5
1 changed files with 4 additions and 1 deletions
|
@ -4733,8 +4733,11 @@ the variable `Info-file-list-for-emacs'."
|
|||
(eq command 'execute-extended-command))
|
||||
(Info-goto-emacs-command-node
|
||||
(read-command "Find documentation for command: ")))
|
||||
((symbolp command)
|
||||
(Info-goto-emacs-command-node command))
|
||||
(t
|
||||
(Info-goto-emacs-command-node command)))))
|
||||
(message "%s invokes an anonymous command"
|
||||
(key-description key))))))
|
||||
|
||||
(defvar Info-link-keymap
|
||||
(let ((keymap (make-sparse-keymap)))
|
||||
|
|
Loading…
Add table
Reference in a new issue