With tooltip-mode disabled, don't unconditionally clear the echo area
* lisp/tooltip.el (tooltip-show-help-non-mode): Only clear the echo area when the current message displayed is a tooltip message (Bug#3192).
This commit is contained in:
committed by
Lars Ingebrigtsen
parent
72ad41c059
commit
f22346fe5a
@@ -365,7 +365,10 @@ It is also called if Tooltip mode is on, for text-only displays."
|
||||
(let ((message-log-max nil))
|
||||
(message "%s" tooltip-previous-message)
|
||||
(setq tooltip-previous-message nil)))
|
||||
(t
|
||||
;; Only stop displaying the message when the current message is our own.
|
||||
;; This has the advantage of not clearing the echo area when
|
||||
;; running after an error message was displayed (Bug#3192).
|
||||
((equal-including-properties tooltip-help-message (current-message))
|
||||
(message nil)))))
|
||||
|
||||
(defun tooltip-show-help (msg)
|
||||
|
||||
Reference in New Issue
Block a user