diff options
| -rw-r--r-- | lisp/tooltip.el | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/lisp/tooltip.el b/lisp/tooltip.el index b1c69ae7368..eac510ba7ba 100644 --- a/lisp/tooltip.el +++ b/lisp/tooltip.el | |||
| @@ -365,7 +365,10 @@ It is also called if Tooltip mode is on, for text-only displays." | |||
| 365 | (let ((message-log-max nil)) | 365 | (let ((message-log-max nil)) |
| 366 | (message "%s" tooltip-previous-message) | 366 | (message "%s" tooltip-previous-message) |
| 367 | (setq tooltip-previous-message nil))) | 367 | (setq tooltip-previous-message nil))) |
| 368 | (t | 368 | ;; Only stop displaying the message when the current message is our own. |
| 369 | ;; This has the advantage of not clearing the echo area when | ||
| 370 | ;; running after an error message was displayed (Bug#3192). | ||
| 371 | ((equal-including-properties tooltip-help-message (current-message)) | ||
| 369 | (message nil))))) | 372 | (message nil))))) |
| 370 | 373 | ||
| 371 | (defun tooltip-show-help (msg) | 374 | (defun tooltip-show-help (msg) |