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
commit970e4c687734f4aeebef990b113febe0ef17e097 (patch)
tree32919c447a8f503276e8f672efb25bb342e19d9d /lisp/time.el
parentec3adf80c674047c0e9a276e740144530325a161 (diff)
downloademacs-970e4c687734f4aeebef990b113febe0ef17e097.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