From 4a53a084a50b2e28cfe6e95c3222134146e2e7c9 Mon Sep 17 00:00:00 2001 From: Vincent Ambo Date: Tue, 13 Nov 2018 15:33:10 +0100 Subject: feat(mail): Refresh unread mail count more often Decreases the interval from 90 seconds to 30 seconds. --- init/mail-setup.el | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'init/mail-setup.el') 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")) -- cgit 1.4.1