HCoop
/
bpt
/
emacs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
6ddc496
)
(display-time): Call display-time-event-handler directly
author
Richard M. Stallman
<rms@gnu.org>
Sun, 21 Jul 1996 18:38:38 +0000
(18:38 +0000)
committer
Richard M. Stallman
<rms@gnu.org>
Sun, 21 Jul 1996 18:38:38 +0000
(18:38 +0000)
to make the time appear right away.
lisp/time.el
patch
|
blob
|
blame
|
history
diff --git
a/lisp/time.el
b/lisp/time.el
index
dfcace7
..
1008dac
100644
(file)
--- a/
lisp/time.el
+++ b/
lisp/time.el
@@
-74,6
+74,8
@@
After each update, `display-time-hook' is run with `run-hooks'."
;; 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))