Commit 0ea9e53a authored by Stefan Monnier's avatar Stefan Monnier
Browse files

* lisp/time.el (display-time-event-handler)

(display-time-next-load-average): Don't call sit-for since it seems
unnecessary.

Fixes: debbugs:15045
parent 309f24d1
2013-08-09 Stefan Monnier <monnier@iro.umontreal.ca>
* time.el (display-time-event-handler)
(display-time-next-load-average): Don't call sit-for since it seems
unnecessary (bug#15045).
* emacs-lisp/checkdoc.el: Remove redundant :group keywords.
Use #' instead of ' to quote functions.
(checkdoc-output-mode): Use setq-local.
......
......@@ -323,8 +323,6 @@ would give mode line times like `94/12/30 21:07:48 (UTC)'."
(defun display-time-event-handler ()
(display-time-update)
;; Do redisplay right now, if no input pending.
(sit-for 0)
(let* ((current (current-time))
(timer display-time-timer)
;; Compute the time when this timer will run again, next.
......@@ -352,8 +350,7 @@ Switches from the 1 to 5 to 15 minute load average, and then back to 1."
(interactive)
(if (= 3 (setq display-time-load-average (1+ display-time-load-average)))
(setq display-time-load-average 0))
(display-time-update)
(sit-for 0))
(display-time-update))
(defun display-time-mail-check-directory ()
(let ((mail-files (directory-files display-time-mail-directory t))
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment