(display-time-next-load-average): Don't call sit-for since it seems
unnecessary.
Fixes: debbugs:15045
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.
(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.
(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))