diff options
| author | Ravi R Kiran <aine.marina@gmail.com> | 2017-08-08 11:49:24 (GMT) |
|---|---|---|
| committer | Ravi R Kiran <aine.marina@gmail.com> | 2017-08-08 11:49:24 (GMT) |
| commit | 077d126fedf973b26a9a67ad324e03f55ad64055 (patch) | |
| tree | 80b4e1f0b7c7a72c1e4fc8696c6b622da4b8fc60 /lisp/ravi-init-mu.el | |
| parent | ce4936ffed85df032056a030c00d741ef4c6045b (diff) | |
| download | dotemacs-077d126fedf973b26a9a67ad324e03f55ad64055.zip dotemacs-077d126fedf973b26a9a67ad324e03f55ad64055.tar.gz dotemacs-077d126fedf973b26a9a67ad324e03f55ad64055.tar.bz2 | |
Selectively disable accounts
Diffstat (limited to 'lisp/ravi-init-mu.el')
| -rw-r--r-- | lisp/ravi-init-mu.el | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lisp/ravi-init-mu.el b/lisp/ravi-init-mu.el index b30bc7c..2215bdd 100644 --- a/lisp/ravi-init-mu.el +++ b/lisp/ravi-init-mu.el @@ -101,7 +101,7 @@ (let* ((account-interval (when (mu4e-context-vars context) (assq 'ravi/account-update-interval (mu4e-context-vars context)))) (account-update-interval (if account-interval (cdr account-interval) 1))) - (if (= (% ravi/mu4e-get-mail-attempts account-update-interval) 0) + (if (and (> account-update-interval 0) (= (% ravi/mu4e-get-mail-attempts account-update-interval) 0)) (concat " " (cdr (assq 'ravi/account-name (mu4e-context-vars context)))) ""))) (defun ravi/get-mu4e-get-mail-command () |
