diff options
| -rw-r--r-- | lisp/news.el | 15 |
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. |