Function: proced-auto-update-timer
proced-auto-update-timer is a byte-compiled function defined in
proced.el.gz.
Signature
(proced-auto-update-timer)
Documentation
Auto-update Proced buffers using run-at-time.
If there are no proced buffers, cancel the timer.
Source Code
;; Defined in /usr/src/emacs/lisp/proced.el.gz
(defun proced-auto-update-timer ()
"Auto-update Proced buffers using `run-at-time'.
If there are no proced buffers, cancel the timer."
(if-let* ((buffers (match-buffers '(derived-mode . proced-mode))))
(dolist (buf buffers)
(when-let* ((flag (buffer-local-value 'proced-auto-update-flag buf))
((or (not (eq flag 'visible))
(get-buffer-window buf 'visible))))
(with-current-buffer buf
(proced-update t t))))
(cancel-timer proced-auto-update-timer)
(setq proced-auto-update-timer nil)))