branch: externals/notmuch-indicator
commit 360236d35a522087836fb17b095a4f2592f66011
Author: Protesilaos Stavrou <[email protected]>
Commit: Protesilaos Stavrou <[email protected]>

    Use seq-filter in notmuch-indicator--running-p
---
 notmuch-indicator.el | 9 ++++-----
 1 file changed, 4 insertions(+), 5 deletions(-)

diff --git a/notmuch-indicator.el b/notmuch-indicator.el
index 2ed1bf04eb..499609ca74 100644
--- a/notmuch-indicator.el
+++ b/notmuch-indicator.el
@@ -320,11 +320,10 @@ Do it when `notmuch-indicator-mode' is enabled.  Also see
 (defun notmuch-indicator--running-p ()
   "Return non-nil if `notmuch-indicator--indicator' is running."
   (when (and notmuch-indicator-notmuch-config-file 
notmuch-indicator-notmuch-binary)
-    (delq nil
-          (mapcar
-           (lambda (timer)
-             (eq (timer--function timer) 'notmuch-indicator--indicator))
-           timer-list))))
+    (seq-filter
+     (lambda (timer)
+       (eq (timer--function timer) 'notmuch-indicator--indicator))
+     timer-list)))
 
 (defun notmuch-indicator-refresh ()
   "Refresh the active indicator."

Reply via email to