# HG changeset patch # User Karl Heuer # Date 837634456 0 # Node ID 8c7e66043fafe1b450fb8def67de3538376539c2 # Parent bf32c17c153b98854260f16d58a4a2bfdb73f9fa (display-time): Starting time should be future, not past. diff -r bf32c17c153b -r 8c7e66043faf lisp/time.el --- a/lisp/time.el Wed Jul 17 04:54:04 1996 +0000 +++ b/lisp/time.el Wed Jul 17 20:14:16 1996 +0000 @@ -71,10 +71,9 @@ ;; Setup the time timer. (and display-time-timer (cancel-timer display-time-timer)) (setq display-time-timer - ;; Start timer at the beginning of the current minute so that - ;; it updates as soon as the minute changes. - (run-at-time (apply 'encode-time 0 (cdr (decode-time))) - display-time-interval 'display-time-event-handler)) + ;; 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)) ;; When you get new mail, clear "Mail" from the mode line. (add-hook 'rmail-after-get-new-mail-hook 'display-time-event-handler))