Mercurial > emacs
diff lisp/time.el @ 15745:982e70ecd0de
(display-time): Call display-time-event-handler directly
to make the time appear right away.
author | Richard M. Stallman <rms@gnu.org> |
---|---|
date | Sun, 21 Jul 1996 18:38:38 +0000 |
parents | 8c7e66043faf |
children | 646df9ca91ba |
line wrap: on
line diff
--- a/lisp/time.el Sun Jul 21 17:53:08 1996 +0000 +++ b/lisp/time.el Sun Jul 21 18:38:38 1996 +0000 @@ -74,6 +74,8 @@ ;; Start timer at the beginning of the next minute. (run-at-time (apply 'encode-time 60 (cdr (decode-time))) display-time-interval 'display-time-event-handler)) + ;; Make the time appear right away. + (display-time-event-handler) ;; When you get new mail, clear "Mail" from the mode line. (add-hook 'rmail-after-get-new-mail-hook 'display-time-event-handler))