about summary refs log tree commit diff
path: root/init/mail-setup.el
diff options
context:
space:
mode:
authorVincent Ambo <mail@tazj.in>2018-11-13T14·33+0100
committerVincent Ambo <github@tazj.in>2019-02-10T20·43+0100
commit4a53a084a50b2e28cfe6e95c3222134146e2e7c9 (patch)
tree865ab653244f8eed2d51021fbd9de8e11ece39e8 /init/mail-setup.el
parentdd5c880138b36c41e78632bac8b11f0430c4cef6 (diff)
feat(mail): Refresh unread mail count more often
Decreases the interval from 90 seconds to 30 seconds.
Diffstat (limited to 'init/mail-setup.el')
-rw-r--r--init/mail-setup.el2
1 files changed, 1 insertions, 1 deletions
diff --git a/init/mail-setup.el b/init/mail-setup.el
index 1292a7e15fb0..1700ccddd37d 100644
--- a/init/mail-setup.el
+++ b/init/mail-setup.el
@@ -75,7 +75,7 @@
   The offlineimap-timer runs every 2 minutes, so it does not make
   sense to refresh this much more often than that."
 
-  (when (> (- (float-time) *last-notmuch-count-redraw*) 90)
+  (when (> (- (float-time) *last-notmuch-count-redraw*) 30)
     (setq *last-notmuch-count-redraw* (float-time))
     (let* ((inbox-unread (notmuch-saved-search-count "tag:inbox and tag:unread"))
            (devel-unread (notmuch-saved-search-count "tag:aprila-dev and tag:unread"))