diff options
| author | Jakob L. Kreuze | 2021-01-29 15:14:32 -0500 |
|---|---|---|
| committer | Jakob L. Kreuze | 2021-01-29 15:14:32 -0500 |
| commit | b72cce68fac68ba76b39462b01fa51087e585e2d (patch) | |
| tree | 5bc6e9caf534d3e91598c7975dd3658a1bf9186b /lisp | |
| parent | fa09b9c7a56d90f011a27d88c5ae370cbf0f8b13 (diff) | |
Drop w3m for viewing HTML email.
Diffstat (limited to 'lisp')
| -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. |