Function: thread-list--timer-func

thread-list--timer-func is a byte-compiled function defined in thread.el.gz.

Signature

(thread-list--timer-func BUFFER)

Documentation

Revert BUFFER and set a timer to do it again.

Source Code

;; Defined in /usr/src/emacs/lisp/thread.el.gz
;; This command can be destructive if they don't know what they are
;; doing.  Kids, don't try this at home!
;;;###autoload (put 'list-threads 'disabled "Beware: manually canceling threads can ruin your Emacs session.")

(defun thread-list--timer-func (buffer)
  "Revert BUFFER and set a timer to do it again."
  (when (buffer-live-p buffer)
    (with-current-buffer buffer
      (revert-buffer))
    (run-at-time thread-list-refresh-seconds nil
                 #'thread-list--timer-func buffer)))