Commit bdba72b6 authored by Gemini Lasswell's avatar Gemini Lasswell

Make list-threads refresh the *Threads* buffer if it already exists

* lisp/thread.el (list-threads): Call revert-buffer instead of waiting
for the timer function to do it.
parent ea1ec0ed
......@@ -84,7 +84,9 @@ An EVENT has the format
(with-current-buffer buf
(unless (derived-mode-p 'thread-list-mode)
(run-at-time 0 nil #'thread-list--timer-func buf)))
(run-at-time thread-list-refresh-seconds nil
#'thread-list--timer-func buf))
(switch-to-buffer buf)))
;; This command can be destructive if they don't know what they are
;; doing. Kids, don't try this at home!
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