From 74c582e64c6b14545fd4188a604e313cbe56a89f Mon Sep 17 00:00:00 2001 From: Chong Yidong Date: Fri, 7 Sep 2012 13:00:32 +0800 Subject: [PATCH] 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 --- lisp/ChangeLog | 5 +++++ lisp/help.el | 2 ++ 2 files changed, 7 insertions(+) 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 -- 2.39.2