From 8a76ffd1435bc0fc42983f5c1bf9b4ce59c1d679 Mon Sep 17 00:00:00 2001 From: Glenn Morris Date: Sat, 23 Sep 2006 21:39:42 +0000 Subject: [PATCH] From Jeff Miller (tiny change) (appt-check): Fix typo for appointments just after midnight. --- lisp/calendar/appt.el | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lisp/calendar/appt.el b/lisp/calendar/appt.el index 29e6fe56b6..892c76bba0 100644 --- a/lisp/calendar/appt.el +++ b/lisp/calendar/appt.el @@ -394,8 +394,8 @@ displayed in a window: (if (and (< appt-comp-time appt-message-warning-time) (> (+ cur-comp-time appt-message-warning-time) appt-max-time)) - (setq min-to-app (+ (- (1+ appt-max-time) cur-comp-time)) - appt-comp-time)) + (setq min-to-app (+ (- (1+ appt-max-time) cur-comp-time) + appt-comp-time))) ;; issue warning if the appointment time is ;; within appt-message-warning time -- 2.39.2