diff options
Diffstat (limited to 'lisp/ravi-init-mu.el')
| -rw-r--r-- | lisp/ravi-init-mu.el | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/lisp/ravi-init-mu.el b/lisp/ravi-init-mu.el index 2dd84bd..97c625b 100644 --- a/lisp/ravi-init-mu.el +++ b/lisp/ravi-init-mu.el @@ -98,6 +98,8 @@ "Number of attempts so far to get mail") (defvar ravi/mu4e-last-fetched-contexts nil "The contexts for the last fetch") + (defvar ravi/mbsync-command "mbsync -q -q" + "Mailbox sync command; takes context(s) as argument") (defun ravi/check-whether-to-get-mail-for-account (context) (let* ((account-interval (when (mu4e-context-vars context) (assq 'ravi/account-update-interval (mu4e-context-vars context)))) @@ -113,7 +115,7 @@ (setq ravi/mu4e-get-mail-attempts (1+ ravi/mu4e-get-mail-attempts)) (setq ravi/mu4e-last-fetched-contexts contexts-to-get) (if contexts-to-get - (concat "mbsync -q -q " context-string) + (concat ravi/mbsync-command " " context-string) "true"))) ;; do nothing command (add-hook 'mu4e-update-pre-hook (lambda () |
