gnus-article-html needs curl in addition to w3m.
authorLars Magne Ingebrigtsen <larsi@quimbies.gnus.org>
Sun, 29 Aug 2010 14:27:58 +0000 (16:27 +0200)
committerLars Magne Ingebrigtsen <larsi@quimbies.gnus.org>
Sun, 29 Aug 2010 14:27:58 +0000 (16:27 +0200)
lisp/ChangeLog
lisp/mm-decode.el

index 0a05461..da76ac3 100644 (file)
@@ -2,6 +2,8 @@
 
        * mm-decode.el (mm-text-html-renderer): Default the html renderer to
        gnus-article-html.
+       (mm-text-html-renderer): gnus-article-html needs curl in addition to
+       w3m. 
 
        * gnus-html.el: Start a new super-simple HTML renderer based on w3m. 
 
index 938b6bf..0ad113d 100644 (file)
         ,disposition ,description ,cache ,id))
 
 (defcustom mm-text-html-renderer
-  (cond ((executable-find "w3m") 'gnus-article-html)
+  (cond ((and (executable-find "w3m")
+             (executable-find "curl"))
+        'gnus-article-html)
        ((executable-find "links") 'links)
        ((executable-find "lynx") 'lynx)
        ((locate-library "w3") 'w3)