From: Robert Pluim Date: Mon, 23 Jan 2023 13:42:11 +0000 (+0100) Subject: ; * lisp/calendar/appt.el (appt-check): Fix byte-compile warning X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=3e62ddc0d87dfceb67af49c5f1caee4d03fc33b8;p=emacs.git ; * lisp/calendar/appt.el (appt-check): Fix byte-compile warning --- 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