]> git.eshelyaron.com Git - emacs.git/commitdiff
(display-time): Use rmail-after-get-new-mail-hook.
authorRichard M. Stallman <rms@gnu.org>
Tue, 27 Feb 1996 22:45:40 +0000 (22:45 +0000)
committerRichard M. Stallman <rms@gnu.org>
Tue, 27 Feb 1996 22:45:40 +0000 (22:45 +0000)
lisp/time.el

index b6cc833ca4e183f3301d1a4876cc69ee37e4a2dc..f3453c0bff10affaedec9edd7d5b2c6a0e86cd05 100644 (file)
@@ -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