about summary refs log tree commit diff stats
diff options
context:
space:
mode:
authorCase Duckworth2021-01-07 19:43:01 -0600
committerCase Duckworth2021-01-07 19:43:01 -0600
commit6abe45564248c8430baeb2895c65ace49eafd664 (patch)
treec2dcb73180a5a7331517d0f3e471562493e479b7
parentAdd ini-mode (diff)
downloademacs-6abe45564248c8430baeb2895c65ace49eafd664.tar.gz
emacs-6abe45564248c8430baeb2895c65ace49eafd664.zip
Update mu4e in the background every 5 minutes
-rw-r--r--config.org12
1 files 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.
1664 (cuss mu4e-compose-signature 1664 (cuss mu4e-compose-signature
1665 "Best,\nCase\n") 1665 "Best,\nCase\n")
1666 1666
1667 ;; (cuss mu4e-get-mail-command "mbsync -a")
1668 ;; (cuss mu4e-update-interval 300)
1669
1670 (cuss mu4e-completing-read-function 'completing-read) 1667 (cuss mu4e-completing-read-function 'completing-read)
1671 (cuss message-kill-buffer-on-exit t) 1668 (cuss message-kill-buffer-on-exit t)
1672 (cuss mu4e-confirm-quit nil) 1669 (cuss mu4e-confirm-quit nil)
@@ -1701,7 +1698,14 @@ I’m only enabling this at home for now, since it requires building stuff.
1701 (defun acdw/setup-mu4e-view-mode () 1698 (defun acdw/setup-mu4e-view-mode ()
1702 (visual-fill-column-mode +1)) 1699 (visual-fill-column-mode +1))
1703 1700
1704 (add-hook 'mu4e-view-mode-hook #'acdw/setup-mu4e-view-mode)) 1701 (add-hook 'mu4e-view-mode-hook #'acdw/setup-mu4e-view-mode)
1702
1703 (cuss mu4e-get-mail-command (cond ((executable-find "mbsync")
1704 "mbsync -a"))
1705 "The command to update mail with.")
1706 (cuss mu4e-update-interval 300
1707 "Update automatically every 5 minutes.")
1708 (mu4e +1))
1705 #+end_src 1709 #+end_src
1706 1710
1707*** Add a keybinding 1711*** Add a keybinding