summaryrefslogtreecommitdiff
path: root/lisp/time.el
diff options
context:
space:
mode:
authorRichard M. Stallman <rms@gnu.org>1996-02-27 22:45:40 +0000
committerRichard M. Stallman <rms@gnu.org>1996-02-27 22:45:40 +0000
commitd3c7da2179f6a2f3292b6c322915f7ff64231dfe (patch)
treec56af9c6c128711ac5d4af23f7973a974bfe5ebf /lisp/time.el
parent4f5c586ac0be536917a6efb6f63cf3e68ccd57ab (diff)
downloademacs-d3c7da2179f6a2f3292b6c322915f7ff64231dfe.tar.gz
(display-time): Use rmail-after-get-new-mail-hook.
Diffstat (limited to 'lisp/time.el')
-rw-r--r--lisp/time.el2
1 files changed, 1 insertions, 1 deletions
diff --git a/lisp/time.el b/lisp/time.el
index b6cc833ca4e..f3453c0bff1 100644
--- a/lisp/time.el
+++ b/lisp/time.el
@@ -73,7 +73,7 @@ After each update, `display-time-hook' is run with `run-hooks'."
(setq display-time-timer
(run-at-time nil display-time-interval 'display-time-event-handler))
;; When you get new mail, clear "Mail" from the mode line.
- (add-hook 'rmail-get-new-mail-hook 'display-time-event-handler))
+ (add-hook 'rmail-after-get-new-mail-hook 'display-time-event-handler))
(defvar display-time-string-forms
'((if display-time-day-and-date