From: Glenn Morris Date: Sat, 23 Sep 2006 21:39:42 +0000 (+0000) Subject: From Jeff Miller (tiny change) X-Git-Tag: emacs-pretest-22.0.90~373 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=8a76ffd1435bc0fc42983f5c1bf9b4ce59c1d679;p=emacs.git From Jeff Miller (tiny change) (appt-check): Fix typo for appointments just after midnight. --- diff --git a/lisp/calendar/appt.el b/lisp/calendar/appt.el index 29e6fe56b6e..892c76bba0c 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