# HG changeset patch # User Glenn Morris # Date 1159047582 0 # Node ID cb9b57449c52ffc2cf652eeb18b7647b17ec8b62 # Parent fdb372ad662373b9a165dc3ad2b2b0014a316de8 From Jeff Miller (tiny change) (appt-check): Fix typo for appointments just after midnight. diff -r fdb372ad6623 -r cb9b57449c52 lisp/calendar/appt.el --- a/lisp/calendar/appt.el Sat Sep 23 21:39:00 2006 +0000 +++ b/lisp/calendar/appt.el Sat Sep 23 21:39:42 2006 +0000 @@ -394,8 +394,8 @@ (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