From 3e62ddc0d87dfceb67af49c5f1caee4d03fc33b8 Mon Sep 17 00:00:00 2001 From: Robert Pluim Date: Mon, 23 Jan 2023 14:42:11 +0100 Subject: [PATCH] ; * lisp/calendar/appt.el (appt-check): Fix byte-compile warning --- lisp/calendar/appt.el | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 -- 2.39.5