]> git.eshelyaron.com Git - emacs.git/commitdiff
; * lisp/proced.el (proced-auto-update-timer): Fix last change.
authorEli Zaretskii <eliz@gnu.org>
Sun, 20 Nov 2022 11:51:22 +0000 (13:51 +0200)
committerEli Zaretskii <eliz@gnu.org>
Sun, 20 Nov 2022 11:51:22 +0000 (13:51 +0200)
lisp/proced.el

index 67c1cf48c1164c483d90fe2e52672b836a273875..ac44ae1513d84afd18df7cd2ed4aa7bd3ef2e58f 100644 (file)
@@ -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)