Fix for invoking C-h c from the minibuffer.
* help.el (describe-key-briefly): Allow the message to be seen when invoked from the minibuffer. Fixes: debbugs:7014
This commit is contained in:
parent
52404181ac
commit
74c582e64c
2 changed files with 7 additions and 0 deletions
|
@ -585,6 +585,8 @@ temporarily enables it to allow getting help on disabled items and buttons."
|
|||
(setq saved-yank-menu (copy-sequence yank-menu))
|
||||
(menu-bar-update-yank-menu "(any string)" nil))
|
||||
(setq key (read-key-sequence "Describe key (or click or menu item): "))
|
||||
;; Clear the echo area message (Bug#7014).
|
||||
(message nil)
|
||||
;; If KEY is a down-event, read and discard the
|
||||
;; corresponding up-event. Note that there are also
|
||||
;; down-events on scroll bars and mode lines: the actual
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue