changeset 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 911086ff68f5
children d7a83c7ea12a
files lisp/time.el
diffstat 1 files changed, 2 insertions(+), 0 deletions(-) [+]
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))