From 0164d5e71ddc05108834d92d333959397d4f6f46 Mon Sep 17 00:00:00 2001 From: Lars Ingebrigtsen Date: Sun, 16 Oct 2022 11:52:56 +0200 Subject: [PATCH] Clear misleading message in help-quit-or-quick * lisp/help.el (help-quit-or-quick): Clear misleading message (bug#58542). --- lisp/help.el | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/lisp/help.el b/lisp/help.el index 3f5e57d7d5f..1cfd044db8c 100644 --- a/lisp/help.el +++ b/lisp/help.el @@ -259,7 +259,10 @@ buffer.") ;; help command loop. (help-quit)) ((and-let* ((window (get-buffer-window "*Quick Help*"))) - (quit-window t window))) + (quit-window t window) + ;; Clear the message we may have gotten from `C-h' and then + ;; waiting before hitting `q'. + (message ""))) ((help-quick)))) (defvar help-return-method nil -- 2.39.5