[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Emacs-diffs] scratch/list-threads 0b7fb4c 4/9: Make list-threads refres
From: |
Gemini Lasswell |
Subject: |
[Emacs-diffs] scratch/list-threads 0b7fb4c 4/9: Make list-threads refresh the *Threads* buffer if it already exists |
Date: |
Mon, 27 Aug 2018 11:53:10 -0400 (EDT) |
branch: scratch/list-threads
commit 0b7fb4c4b46466ba83b6bdf5092c80dfeb1d3a2c
Author: Gemini Lasswell <address@hidden>
Commit: Gemini Lasswell <address@hidden>
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.
---
lisp/thread.el | 4 +++-
1 file changed, 3 insertions(+), 1 deletion(-)
diff --git a/lisp/thread.el b/lisp/thread.el
index c79057d..c99fc59 100644
--- a/lisp/thread.el
+++ b/lisp/thread.el
@@ -67,7 +67,9 @@
(with-current-buffer buf
(unless (derived-mode-p 'thread-list-mode)
(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))
+ (revert-buffer))
(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!
- [Emacs-diffs] branch scratch/list-threads created (now 49afbb9), Gemini Lasswell, 2018/08/27
- [Emacs-diffs] scratch/list-threads 468a32c 8/9: Add check in list-threads for --without-threads configuration, Gemini Lasswell, 2018/08/27
- [Emacs-diffs] scratch/list-threads 4516d71 6/9: Show backtraces of threads from thread list buffer, Gemini Lasswell, 2018/08/27
- [Emacs-diffs] scratch/list-threads fd3f62c 7/9: Document list-threads and its buffer, Gemini Lasswell, 2018/08/27
- [Emacs-diffs] scratch/list-threads 49afbb9 9/9: Add tests for list-threads and the *Threads* buffer, Gemini Lasswell, 2018/08/27
- [Emacs-diffs] scratch/list-threads 370b837 5/9: Make small fixes to Edebug and debugger documentation, Gemini Lasswell, 2018/08/27
- [Emacs-diffs] scratch/list-threads 0b7fb4c 4/9: Make list-threads refresh the *Threads* buffer if it already exists,
Gemini Lasswell <=
- [Emacs-diffs] scratch/list-threads 833a2d4 2/9: Make lisp/thread.el the new home for thread-related Lisp functions, Gemini Lasswell, 2018/08/27
- [Emacs-diffs] scratch/list-threads 1c971c0 1/9: Add list-threads command and thread-list-mode, Gemini Lasswell, 2018/08/27
- [Emacs-diffs] scratch/list-threads 186ee8c 3/9: Improve docstrings of thread-list functions, Gemini Lasswell, 2018/08/27