about summary refs log tree commit diff
path: root/init/mail-setup.el
diff options
context:
space:
mode:
Diffstat (limited to 'init/mail-setup.el')
-rw-r--r--init/mail-setup.el3
1 files changed, 3 insertions, 0 deletions
diff --git a/init/mail-setup.el b/init/mail-setup.el
index 8db2662d17b3..a277af7dbe97 100644
--- a/init/mail-setup.el
+++ b/init/mail-setup.el
@@ -32,6 +32,9 @@
 (setq mail-host-address (system-name))
 (setq notmuch-mua-cite-function #'message-cite-original-without-signature)
 
+;; Close mail buffers after sending mail
+(setq message-kill-buffer-on-exit t)
+
 ;; Ensure sender is correctly passed to msmtp
 (setq mail-specify-envelope-from t
       message-sendmail-envelope-from 'header