ENH make email not clobber other windows

This commit is contained in:
Nathan Dwarshuis 2023-04-16 17:30:35 -04:00
parent 1b0ab263d3
commit 7966b74502
1 changed files with 6 additions and 0 deletions

View File

@ -3331,6 +3331,12 @@ Initialize by running =nd/mu-init=.
(smtpmail-smtp-user . ,addr)
(user-mail-address . ,addr)
(mu4e-maildir-shortcuts . ,shortcuts)))))
;; display mu4e in same window
(add-to-list 'display-buffer-alist
`(,(regexp-quote mu4e-main-buffer-name)
display-buffer-same-window))
(setq mail-user-agent 'mu4e-user-agent
message-kill-buffer-on-exit t