]> git.eshelyaron.com Git - emacs.git/commitdiff
Use shr as default for mm-text-html-renderer
authorStefan Kangas <stefankangas@gmail.com>
Fri, 26 Aug 2022 20:12:19 +0000 (22:12 +0200)
committerStefan Kangas <stefankangas@gmail.com>
Fri, 26 Aug 2022 20:14:17 +0000 (22:14 +0200)
* 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>.

lisp/gnus/mm-decode.el

index 1417ecdccc8ed04e40e0f91f267bc64715b1c1a0..5268f192c614679e2d6451a0d399bd8b3b640c35 100644 (file)
   (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: