aboutsummaryrefslogtreecommitdiffstats
path: root/lisp
diff options
context:
space:
mode:
Diffstat (limited to 'lisp')
-rw-r--r--lisp/calendar/appt.el6
1 files changed, 5 insertions, 1 deletions
diff --git a/lisp/calendar/appt.el b/lisp/calendar/appt.el
index 8a92ef614ce..f6e33aeefe0 100644
--- a/lisp/calendar/appt.el
+++ b/lisp/calendar/appt.el
@@ -341,7 +341,7 @@ displayed in a window:
341 ;; get the first time off of the list 341 ;; get the first time off of the list
342 ;; and calculate the number of minutes until the appointment. 342 ;; and calculate the number of minutes until the appointment.
343 343
344 (if appt-time-msg-list 344 (if (and appt-issue-message appt-time-msg-list)
345 (let ((appt-comp-time (car (car (car appt-time-msg-list))))) 345 (let ((appt-comp-time (car (car (car appt-time-msg-list)))))
346 (setq min-to-app (- appt-comp-time cur-comp-time)) 346 (setq min-to-app (- appt-comp-time cur-comp-time))
347 347
@@ -659,6 +659,10 @@ ARG is positive, otherwise off."
659 (appt-check t)))) 659 (appt-check t))))
660 660
661 661
662;; This is needed for backwards compatibility. Feh.
663(appt-activate 1)
664
665
662(provide 'appt) 666(provide 'appt)
663 667
664;;; arch-tag: bf5791c4-8921-499e-a26f-772b1788d347 668;;; arch-tag: bf5791c4-8921-499e-a26f-772b1788d347