diff options
author | jao <jao@gnu.org> | 2022-04-30 02:09:32 +0100 |
---|---|---|
committer | jao <jao@gnu.org> | 2022-04-30 02:09:32 +0100 |
commit | b0d45188b5ae4824fcde34566d75f8a3d2365e99 (patch) | |
tree | a4ab9cab26b84af2b5bd0407e10727dca0f6f9d8 | |
parent | b2c3ae43cac9c31c24ca82000ba0d6999562a655 (diff) | |
download | elibs-b0d45188b5ae4824fcde34566d75f8a3d2365e99.tar.gz elibs-b0d45188b5ae4824fcde34566d75f8a3d2365e99.tar.bz2 |
notmuch hello: refresh agenda every now and then
-rw-r--r-- | notmuch.org | 2 |
1 files changed, 1 insertions, 1 deletions
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) |