summaryrefslogtreecommitdiff
path: root/lisp
diff options
context:
space:
mode:
authorJakob L. Kreuze2021-01-29 15:14:32 -0500
committerJakob L. Kreuze2021-01-29 15:14:32 -0500
commitb72cce68fac68ba76b39462b01fa51087e585e2d (patch)
tree5bc6e9caf534d3e91598c7975dd3658a1bf9186b /lisp
parentfa09b9c7a56d90f011a27d88c5ae370cbf0f8b13 (diff)
Drop w3m for viewing HTML email.
Diffstat (limited to 'lisp')
-rw-r--r--lisp/news.el15
1 files changed, 6 insertions, 9 deletions
diff --git a/lisp/news.el b/lisp/news.el
index ac52708..063e6b8 100644
--- a/lisp/news.el
+++ b/lisp/news.el
@@ -26,18 +26,15 @@
(add-hook 'message-mode-hook #'flyspell-mode)
-;; Use w3m to display HTML emails. Adapted from [1].
+;; Use html2text to display HTML emails. Adapted from [1].
;;
;; [1]: https://norman.walsh.name/2011/03/10/w3m
-(use-package w3m
- :demand t
- :config
- (setq gnus-mime-display-multipart-related-as-mixed nil
- mm-text-html-renderer #'w3m
- mm-inline-text-html-with-images t
- mm-inline-text-html-with-w3m-keymap nil
- w3m-default-display-inline-images t))
+(setq gnus-mime-display-multipart-related-as-mixed nil
+ mm-inline-text-html-with-images t
+ mm-text-html-renderer #'shr
+ shr-use-colors nil
+ shr-use-fonts nil)
;; Encrypt emails such that we can read them as well.

© 2015 - 2026 Jakob L. Kreuze