aboutsummaryrefslogtreecommitdiff
path: root/.config
diff options
context:
space:
mode:
Diffstat (limited to '.config')
-rw-r--r--.config/emacs/init.el9
1 files changed, 9 insertions, 0 deletions
diff --git a/.config/emacs/init.el b/.config/emacs/init.el
index 737d8f1..acbf5df 100644
--- a/.config/emacs/init.el
+++ b/.config/emacs/init.el
@@ -737,6 +737,15 @@
(mu4e-trash-folder . "/comsuse/Elements suprimits")))))
)
+ ;; Whenever we enter mu4e-view mode, ensure that text/plain is preferred by
+ ;; default.
+ (with-eval-after-load "mm-decode"
+ (if (null mm-discouraged-alternatives)
+ (progn
+ (add-to-list 'mm-discouraged-alternatives "text/html")
+ (add-to-list 'mm-discouraged-alternatives "text/richtext"))))
+
+
;; And finally call the real deal.
(mu4e))