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."
(unless (seq-filter (lambda (buf)
(with-current-buffer buf
(when (eq major-mode 'proced-mode)
(if proced-auto-update-flag
(proced-update t t))
t)))
(buffer-list))
(cancel-timer proced-auto-update-timer)
(setq proced-auto-update-timer nil)))