[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Emacs-diffs] master bdba72b 04/12: Make list-threads refresh the *Threa
From: |
Gemini Lasswell |
Subject: |
[Emacs-diffs] master bdba72b 04/12: Make list-threads refresh the *Threads* buffer if it already exists |
Date: |
Sun, 9 Sep 2018 11:31:40 -0400 (EDT) |
branch: master
commit bdba72b67199c0899b2e416bf818d240252f8700
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 c4a4c11..4cd253e 100644
--- a/lisp/thread.el
+++ b/lisp/thread.el
@@ -84,7 +84,9 @@ An EVENT has the format
(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] master updated (e489685 -> a704bad), Gemini Lasswell, 2018/09/09
- [Emacs-diffs] master a133b1f 01/12: Add list-threads command and thread-list-mode, Gemini Lasswell, 2018/09/09
- [Emacs-diffs] master a704bad 12/12: Merge branch 'scratch/list-threads', Gemini Lasswell, 2018/09/09
- [Emacs-diffs] master 8adc0e5 10/12: Improve documentation of thread list buffer, Gemini Lasswell, 2018/09/09
- [Emacs-diffs] master b7719f0 11/12: Use thread-live-p instead of obsolete thread-alive-p, Gemini Lasswell, 2018/09/09
- [Emacs-diffs] master e19ca77 07/12: Document list-threads and its buffer, Gemini Lasswell, 2018/09/09
- [Emacs-diffs] master 2f5a65a 09/12: Add tests for list-threads and the *Threads* buffer, Gemini Lasswell, 2018/09/09
- [Emacs-diffs] master 703b1cf 08/12: Add check in list-threads for --without-threads configuration, Gemini Lasswell, 2018/09/09
- [Emacs-diffs] master 3fb8f30 06/12: Show backtraces of threads from thread list buffer, Gemini Lasswell, 2018/09/09
- [Emacs-diffs] master dc5c76c 05/12: Make small fixes to Edebug and debugger documentation, Gemini Lasswell, 2018/09/09
- [Emacs-diffs] master bdba72b 04/12: Make list-threads refresh the *Threads* buffer if it already exists,
Gemini Lasswell <=
- [Emacs-diffs] master ea1ec0e 03/12: Improve docstrings of thread-list functions, Gemini Lasswell, 2018/09/09
- [Emacs-diffs] master 3ca82c5 02/12: Make lisp/thread.el the new home for thread-related Lisp functions, Gemini Lasswell, 2018/09/09