+adivce to notmuch-refresh-buffer to sync mail as well

This commit is contained in:
2020-08-18 22:15:22 +01:00
parent 783fa1fe8c
commit 56ecd2046d

View File

@@ -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