From 6abe45564248c8430baeb2895c65ace49eafd664 Mon Sep 17 00:00:00 2001 From: Case Duckworth Date: Thu, 7 Jan 2021 19:43:01 -0600 Subject: Update mu4e in the background every 5 minutes --- config.org | 12 ++++++++---- 1 file changed, 8 insertions(+), 4 deletions(-) diff --git a/config.org b/config.org index af2280c..893c28a 100644 --- a/config.org +++ b/config.org @@ -1664,9 +1664,6 @@ I’m only enabling this at home for now, since it requires building stuff. (cuss mu4e-compose-signature "Best,\nCase\n") - ;; (cuss mu4e-get-mail-command "mbsync -a") - ;; (cuss mu4e-update-interval 300) - (cuss mu4e-completing-read-function 'completing-read) (cuss message-kill-buffer-on-exit t) (cuss mu4e-confirm-quit nil) @@ -1701,7 +1698,14 @@ I’m only enabling this at home for now, since it requires building stuff. (defun acdw/setup-mu4e-view-mode () (visual-fill-column-mode +1)) - (add-hook 'mu4e-view-mode-hook #'acdw/setup-mu4e-view-mode)) + (add-hook 'mu4e-view-mode-hook #'acdw/setup-mu4e-view-mode) + + (cuss mu4e-get-mail-command (cond ((executable-find "mbsync") + "mbsync -a")) + "The command to update mail with.") + (cuss mu4e-update-interval 300 + "Update automatically every 5 minutes.") + (mu4e +1)) #+end_src *** Add a keybinding -- cgit 1.4.1-21-gabe81