fix(mu4e): set popup rules for mu4e
I'm not sure how this works for anyone without setting these rules. By setting them here, users will have a good out-of-box experience of using mu4e.
This commit is contained in:
parent
feec9368e2
commit
ce8c2af08c
1 changed files with 3 additions and 0 deletions
|
@ -221,6 +221,9 @@ is non-nil."
|
||||||
;; Wrap text in messages
|
;; Wrap text in messages
|
||||||
(setq-hook! 'mu4e-view-mode-hook truncate-lines nil)
|
(setq-hook! 'mu4e-view-mode-hook truncate-lines nil)
|
||||||
|
|
||||||
|
;; mu4e now uses `display-buffer-alist' so we need to add some rules of our own
|
||||||
|
(set-popup-rule! "^\\*mu4e-\\(main\\|headers\\)\\*" :ignore t)
|
||||||
|
|
||||||
;; Html mails might be better rendered in a browser
|
;; Html mails might be better rendered in a browser
|
||||||
(add-to-list 'mu4e-view-actions '("View in browser" . mu4e-action-view-in-browser))
|
(add-to-list 'mu4e-view-actions '("View in browser" . mu4e-action-view-in-browser))
|
||||||
(when (fboundp 'make-xwidget)
|
(when (fboundp 'make-xwidget)
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue