From: Chong Yidong Date: Fri, 7 Sep 2012 05:00:32 +0000 (+0800) Subject: Fix for invoking C-h c from the minibuffer. X-Git-Tag: emacs-24.2.90~388 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=74c582e64c6b14545fd4188a604e313cbe56a89f;p=emacs.git 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 --- diff --git a/lisp/ChangeLog b/lisp/ChangeLog index 5f8a6135fdc..219fd382e50 100644 --- a/lisp/ChangeLog +++ b/lisp/ChangeLog @@ -1,3 +1,8 @@ +2012-09-07 Chong Yidong + + * help.el (describe-key-briefly): Allow the message to be seen + when invoked from the minibuffer (Bug#7014). + 2012-09-07 Dmitry Gutov * progmodes/ruby-mode.el (ruby-end-of-defun) 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