summaryrefslogtreecommitdiff
path: root/lisp/help.el
diff options
context:
space:
mode:
authorChong Yidong <cyd@gnu.org>2012-09-07 13:00:32 +0800
committerChong Yidong <cyd@gnu.org>2012-09-07 13:00:32 +0800
commit74c582e64c6b14545fd4188a604e313cbe56a89f (patch)
tree36bb51d468a4b0f263c6dad4b1d601a78099f779 /lisp/help.el
parent52404181acc9d4c31eb0d1cf35db7d10e3a4afde (diff)
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
Diffstat (limited to 'lisp/help.el')
-rw-r--r--lisp/help.el2
1 files changed, 2 insertions, 0 deletions
diff --git a/lisp/help.el b/lisp/help.el
index cacbf185963..da11389d87c 100644
--- a/lisp/help.el
+++ b/lisp/help.el
@@ -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