fix(mu4e): treat *mu4e-main* as real

This commit is contained in:
Henrik Lissner 2024-09-10 20:38:01 -04:00
parent 28d0d4c2e9
commit fcf8b0f8a1
No known key found for this signature in database
GPG key ID: B60957CA074D39A3

View file

@ -24,6 +24,11 @@
(add-to-list 'doom-debug-variables 'mu4e-debug)
;; mu4e now uses `display-buffer-alist' so we need to add some rules of our own
(set-popup-rule! "^\\*mu4e-\\(main\\|headers\\)\\*" :ignore t)
(set-popup-rule! "^\\*mu4e-log\\*" :select nil)
;; Treat mu4e main menu buffer as real, so it can be switched to or fallen
;; back to when killing other buffers.
(add-hook 'mu4e-main-mode-hook #'doom-mark-buffer-as-real-h)
;; Ensures backward/forward compatibility for mu4e, which is prone to breaking
;; updates, and also cannot be pinned, because it's bundled with mu (which you