Fix messages displayed when diary is shown
* lisp/calendar/diary-lib.el (diary-list-entries): Display the "...done" message only if there's no important message in the echo-area. (Bug#60795)
This commit is contained in:
parent
256791edd4
commit
b5e0260f42
1 changed files with 4 additions and 1 deletions
|
@ -880,7 +880,10 @@ LIST-ONLY is non-nil, in which case it just returns the list."
|
|||
(original-date original-date))
|
||||
(run-hooks 'diary-hook))))))
|
||||
(and temp-buff (buffer-name temp-buff) (kill-buffer temp-buff)))
|
||||
(or d-incp (message "Preparing diary...done"))
|
||||
(or d-incp
|
||||
;; Don't clobber messages displayed while preparing the diary.
|
||||
(not (equal (current-message) "Preparing diary..."))
|
||||
(message "Preparing diary...done"))
|
||||
diary-entries-list)))
|
||||
|
||||
(defun diary-unhide-everything ()
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue