diff options
| author | Eli Zaretskii | 2023-01-15 08:10:33 +0200 |
|---|---|---|
| committer | Eli Zaretskii | 2023-01-15 08:10:33 +0200 |
| commit | b5e0260f4258b7d29c208c5cec271ea6c4ef9f69 (patch) | |
| tree | c273dcd331dbbbc7bad2431d127971a4d2127e0e | |
| parent | 256791edd484e07cfa963cc9c7cb0b8a66d448bb (diff) | |
| download | emacs-b5e0260f4258b7d29c208c5cec271ea6c4ef9f69.tar.gz emacs-b5e0260f4258b7d29c208c5cec271ea6c4ef9f69.zip | |
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)
| -rw-r--r-- | lisp/calendar/diary-lib.el | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/lisp/calendar/diary-lib.el b/lisp/calendar/diary-lib.el index b90ed715fae..44fb5eb5a86 100644 --- a/lisp/calendar/diary-lib.el +++ b/lisp/calendar/diary-lib.el | |||
| @@ -880,7 +880,10 @@ LIST-ONLY is non-nil, in which case it just returns the list." | |||
| 880 | (original-date original-date)) | 880 | (original-date original-date)) |
| 881 | (run-hooks 'diary-hook)))))) | 881 | (run-hooks 'diary-hook)))))) |
| 882 | (and temp-buff (buffer-name temp-buff) (kill-buffer temp-buff))) | 882 | (and temp-buff (buffer-name temp-buff) (kill-buffer temp-buff))) |
| 883 | (or d-incp (message "Preparing diary...done")) | 883 | (or d-incp |
| 884 | ;; Don't clobber messages displayed while preparing the diary. | ||
| 885 | (not (equal (current-message) "Preparing diary...")) | ||
| 886 | (message "Preparing diary...done")) | ||
| 884 | diary-entries-list))) | 887 | diary-entries-list))) |
| 885 | 888 | ||
| 886 | (defun diary-unhide-everything () | 889 | (defun diary-unhide-everything () |