diff options
author | Aryadev Chavali <aryadev@aryadevchavali.com> | 2020-08-18 22:15:22 +0100 |
---|---|---|
committer | Aryadev Chavali <aryadev@aryadevchavali.com> | 2020-08-18 22:15:22 +0100 |
commit | 56ecd2046d7a111d2ce406472a1757cdfa5091db (patch) | |
tree | a35bdf790bbc38a9d06fa4d1cfd970c95d32b605 /Emacs/.config | |
parent | 783fa1fe8cdac17255c5c81e9cfdabfaf62b23e4 (diff) | |
download | dotfiles-56ecd2046d7a111d2ce406472a1757cdfa5091db.tar.gz dotfiles-56ecd2046d7a111d2ce406472a1757cdfa5091db.tar.bz2 dotfiles-56ecd2046d7a111d2ce406472a1757cdfa5091db.zip |
+adivce to notmuch-refresh-buffer to sync mail as well
Diffstat (limited to 'Emacs/.config')
-rw-r--r-- | Emacs/.config/emacs/config.org | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/Emacs/.config/emacs/config.org b/Emacs/.config/emacs/config.org index 6b86b31..bffc83e 100644 --- a/Emacs/.config/emacs/config.org +++ b/Emacs/.config/emacs/config.org @@ -475,7 +475,9 @@ integrate it into my workflow just a bit better. (message-auto-save-directory +mail/local-dir) (message-directory +mail/local-dir)) :config - (evil-define-key 'normal notmuch-hello-mode-map "M" #'+mail/sync-mail) + ;; sync mail after refresh + (advice-add #'notmuch-poll-and-refresh-this-buffer :before + #'+mail/sync-mail) (evil-collection-notmuch-setup)) #+end_src ** Smtpmail |