From b0d45188b5ae4824fcde34566d75f8a3d2365e99 Mon Sep 17 00:00:00 2001 From: jao Date: Sat, 30 Apr 2022 02:09:32 +0100 Subject: notmuch hello: refresh agenda every now and then --- notmuch.org | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/notmuch.org b/notmuch.org index ebbb0ff..971f53c 100644 --- a/notmuch.org +++ b/notmuch.org @@ -479,7 +479,7 @@ (save-window-excursion (other-window -1) (derived-mode-p 'notmuch-hello-mode))) (delete-window) - (jao-notmuch-refresh-hello (zerop (mod (cl-incf jao-notmuch--visits) 10))))) + (jao-notmuch-refresh-hello (= 0 (mod (cl-incf jao-notmuch--visits) 10))))) (advice-add 'notmuch-tree :before #'jao-notmuch-before-tree) (advice-add 'notmuch-tree-quit :after #'jao-notmuch-after-tree-quit) -- cgit v1.2.3