[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
master 50e6bc72c2 2/2: ; * lisp/proced.el (proced-auto-update-timer): Fi
From: |
Eli Zaretskii |
Subject: |
master 50e6bc72c2 2/2: ; * lisp/proced.el (proced-auto-update-timer): Fix last change. |
Date: |
Sun, 20 Nov 2022 06:52:19 -0500 (EST) |
branch: master
commit 50e6bc72c21701cdd99c314e3d2948fbc0724e04
Author: Eli Zaretskii <eliz@gnu.org>
Commit: Eli Zaretskii <eliz@gnu.org>
; * lisp/proced.el (proced-auto-update-timer): Fix last change.
---
lisp/proced.el | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/lisp/proced.el b/lisp/proced.el
index 67c1cf48c1..ac44ae1513 100644
--- a/lisp/proced.el
+++ b/lisp/proced.el
@@ -746,8 +746,8 @@ If there are no proced buffers, cancel the timer."
(unless (seq-filter (lambda (buf)
(with-current-buffer buf
(when (eq major-mode 'proced-mode)
- (when proced-auto-update-flag
- (proced-update t t))
+ (if proced-auto-update-flag
+ (proced-update t t))
t)))
(buffer-list))
(cancel-timer proced-auto-update-timer)