summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorStefan Kangas <stefankangas@gmail.com>2022-08-26 22:12:19 +0200
committerStefan Kangas <stefankangas@gmail.com>2022-08-26 22:14:17 +0200
commitc1442f96db64d545007f25995596b399f638e399 (patch)
tree50e656dd60078f51bf301de7ffc6a009a3a48fe8
parent997103bb879bb7aee36a99be39fb771daa7999de (diff)
downloademacs-c1442f96db64d545007f25995596b399f638e399.tar.gz
Use shr as default for mm-text-html-renderer
* lisp/gnus/mm-decode.el (mm-text-html-renderer): Use 'shr' as default to avoid a nil value. Problem reported by Mattias EngdegÄrd <mattiase@acm.org>.
-rw-r--r--lisp/gnus/mm-decode.el3
1 files changed, 2 insertions, 1 deletions
diff --git a/lisp/gnus/mm-decode.el b/lisp/gnus/mm-decode.el
index 1417ecdccc8..5268f192c61 100644
--- a/lisp/gnus/mm-decode.el
+++ b/lisp/gnus/mm-decode.el
@@ -117,7 +117,8 @@
(cond ((fboundp 'libxml-parse-html-region) 'shr)
((executable-find "w3m") 'gnus-w3m)
((executable-find "links") 'links)
- ((executable-find "lynx") 'lynx))
+ ((executable-find "lynx") 'lynx)
+ (t 'shr))
"Render of HTML contents.
It is one of defined renderer types, or a rendering function.
The defined renderer types are: