aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGlenn Morris2011-05-12 18:38:31 -0700
committerGlenn Morris2011-05-12 18:38:31 -0700
commita54640143dc093c1d3572f344b231da2d4508c8f (patch)
treefcc44d051124b7336513634dafbf66ae0cab5b36
parent4accbca6e956418ee0a6535cd25a03ed1b8d441f (diff)
downloademacs-a54640143dc093c1d3572f344b231da2d4508c8f.tar.gz
emacs-a54640143dc093c1d3572f344b231da2d4508c8f.zip
* calendar/appt.el (appt-check): Change mode-line message at time of the appt.
-rw-r--r--lisp/ChangeLog1
-rw-r--r--lisp/calendar/appt.el4
2 files changed, 4 insertions, 1 deletions
diff --git a/lisp/ChangeLog b/lisp/ChangeLog
index 8d8b1bf7899..004be53a3b2 100644
--- a/lisp/ChangeLog
+++ b/lisp/ChangeLog
@@ -2,6 +2,7 @@
2 2
3 * calendar/appt.el (appt-make-list): Simplify. 3 * calendar/appt.el (appt-make-list): Simplify.
4 (appt-time-msg-list): Doc fix. 4 (appt-time-msg-list): Doc fix.
5 (appt-check): Change mode-line message at the time of the appointment.
5 6
62011-05-12 Andreas Schwab <schwab@linux-m68k.org> 72011-05-12 Andreas Schwab <schwab@linux-m68k.org>
7 8
diff --git a/lisp/calendar/appt.el b/lisp/calendar/appt.el
index d961e43cda2..25f3ae0e8ec 100644
--- a/lisp/calendar/appt.el
+++ b/lisp/calendar/appt.el
@@ -342,7 +342,9 @@ displayed in a window:
342 (when appt-display-mode-line 342 (when appt-display-mode-line
343 (setq appt-mode-string 343 (setq appt-mode-string
344 (concat " " (propertize 344 (concat " " (propertize
345 (format "App't in %s min." min-to-app) 345 (format "App't %s"
346 (if (zerop min-to-app) "NOW"
347 (format "in %s min." min-to-app)))
346 'face 'mode-line-emphasis)))) 348 'face 'mode-line-emphasis))))
347 ;; When an appointment is reached, delete it from the 349 ;; When an appointment is reached, delete it from the
348 ;; list. Reset the count to 0 in case we display another 350 ;; list. Reset the count to 0 in case we display another