summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJSDurand <mmemmew@gmail.com>2021-12-07 20:42:42 +0800
committerJSDurand <mmemmew@gmail.com>2021-12-07 20:42:42 +0800
commit5aae910f1061dc279ff15ca5843b8e05f31de753 (patch)
treea58e16fe43a8a2218cd23dc6f986a2b04ddfdce0
parent414923f874093c2fb09b8a92693aed91df0784ed (diff)
* gnus-conf.el ("mm-discouraged-alternatives"): prefer text
-rw-r--r--gnus-conf.el6
1 files changed, 6 insertions, 0 deletions
diff --git a/gnus-conf.el b/gnus-conf.el
index f99301d..9546063 100644
--- a/gnus-conf.el
+++ b/gnus-conf.el
@@ -15,6 +15,12 @@
;; (nnimap-server-port 143))
))
+;;; Prefer TEXT than HTML mails
+
+(with-eval-after-load "mm-decode"
+ (add-to-list 'mm-discouraged-alternatives "text/html")
+ (add-to-list 'mm-discouraged-alternatives "text/richtext"))
+
;;; display using display-buffer
(defun durand-display-gnus (&rest _args)