diff options
author | Robert Pluim <rpluim@gmail.com> | 2023-01-23 14:42:11 +0100 |
---|---|---|
committer | Robert Pluim <rpluim@gmail.com> | 2023-01-23 14:44:37 +0100 |
commit | 3e62ddc0d87dfceb67af49c5f1caee4d03fc33b8 (patch) | |
tree | 87da83bdbc051051b7d17e1a800a19a80dc00325 /lisp/calendar/appt.el | |
parent | b88d47beb00da7b302aaf757be611f200ae803b3 (diff) | |
download | emacs-3e62ddc0d87dfceb67af49c5f1caee4d03fc33b8.tar.gz |
; * lisp/calendar/appt.el (appt-check): Fix byte-compile warning
Diffstat (limited to 'lisp/calendar/appt.el')
-rw-r--r-- | lisp/calendar/appt.el | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lisp/calendar/appt.el b/lisp/calendar/appt.el index a209623b65e..49597739446 100644 --- a/lisp/calendar/appt.el +++ b/lisp/calendar/appt.el @@ -409,7 +409,7 @@ displayed in a window: 'face 'mode-line-emphasis) " "))) ;; Reset count to 0 in case we display another appt on the next cycle. - (setq appt-display-count (if (eq '(0) min-list) 0 + (setq appt-display-count (if (equal '(0) min-list) 0 (1+ prev-appt-display-count)))) ;; If we have changed the mode line string, redisplay all mode lines. (and appt-display-mode-line |