aboutsummaryrefslogtreecommitdiff
path: root/Emacs
diff options
context:
space:
mode:
Diffstat (limited to 'Emacs')
-rw-r--r--Emacs/.config/emacs/config.org4
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