From 6123dec4e33bce5a04ab1f2abd10760b2d119c38 Mon Sep 17 00:00:00 2001 From: Lucien Cartier-Tilet Date: Wed, 26 Jan 2022 10:05:53 +0100 Subject: [PATCH] [Emacs] Prefer plaintext in mu4e message viewer --- org/config/emacs.org | 3 +++ 1 file changed, 3 insertions(+) diff --git a/org/config/emacs.org b/org/config/emacs.org index 0bd228c..8d4cdb9 100644 --- a/org/config/emacs.org +++ b/org/config/emacs.org @@ -1463,6 +1463,9 @@ configuration for the ~mu4e~ package itself. `(lambda () (visual-line-mode 1))) :gfhook ('mu4e-view-mode-hook (mu4e-view-mode--prepare)) :config + (with-eval-after-load "mm-decode" + (add-to-list 'mm-discouraged-alternatives "text/html") + (add-to-list 'mm-discouraged-alternatives "text-richtext")) (add-hook 'mu4e-view-mode-hook (lambda () (setq truncate-lines nil))) (add-hook 'mu4e-headers-mode-hook (lambda () (setq truncate-lines t)))