diff options
| -rw-r--r-- | lisp/calendar/appt.el | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/lisp/calendar/appt.el b/lisp/calendar/appt.el index d081dd2e541..ece9976e411 100644 --- a/lisp/calendar/appt.el +++ b/lisp/calendar/appt.el | |||
| @@ -203,6 +203,7 @@ so calling `appt-make-list' again should preserve it.") | |||
| 203 | "String being displayed in the mode line saying you have an appointment. | 203 | "String being displayed in the mode line saying you have an appointment. |
| 204 | The actual string includes the amount of time till the appointment. | 204 | The actual string includes the amount of time till the appointment. |
| 205 | Only used if `appt-display-mode-line' is non-nil.") | 205 | Only used if `appt-display-mode-line' is non-nil.") |
| 206 | (put 'appt-mode-string 'risky-local-variable t) ; for 'face property | ||
| 206 | 207 | ||
| 207 | (defvar appt-prev-comp-time nil | 208 | (defvar appt-prev-comp-time nil |
| 208 | "Time of day (mins since midnight) at which we last checked appointments. | 209 | "Time of day (mins since midnight) at which we last checked appointments. |
| @@ -390,7 +391,9 @@ displayed in a window: | |||
| 390 | min-to-app)) | 391 | min-to-app)) |
| 391 | (when appt-display-mode-line | 392 | (when appt-display-mode-line |
| 392 | (setq appt-mode-string | 393 | (setq appt-mode-string |
| 393 | (format " App't in %s min." min-to-app))) | 394 | (concat " " (propertize |
| 395 | (format "App't in %s min." min-to-app) | ||
| 396 | 'face 'mode-line-emphasis)))) | ||
| 394 | ;; When an appointment is reached, delete it from | 397 | ;; When an appointment is reached, delete it from |
| 395 | ;; the list. Reset the count to 0 in case we | 398 | ;; the list. Reset the count to 0 in case we |
| 396 | ;; display another appointment on the next cycle. | 399 | ;; display another appointment on the next cycle. |