Synch to No Gnus 200405232318.
authoryamaoka <yamaoka>
Sun, 23 May 2004 23:21:29 +0000 (23:21 +0000)
committeryamaoka <yamaoka>
Sun, 23 May 2004 23:21:29 +0000 (23:21 +0000)
lisp/ChangeLog
lisp/mm-decode.el

index b07d923..3afa6a8 100644 (file)
@@ -1,3 +1,8 @@
+2004-05-23  Katsumi Yamaoka  <yamaoka@jpl.org>
+
+       * mm-decode.el (mm-text-html-renderer): Make sure w3m exists in
+       addition to emacs-w3m.
+
 2004-05-23  Lars Magne Ingebrigtsen  <larsi@gnus.org>
 
        * assistant.el (assistant-authinfo-data): New function.
index 67b040e..de879ca 100644 (file)
@@ -98,8 +98,9 @@
 
 (defcustom mm-text-html-renderer
   (cond ((locate-library "w3") 'w3)
-       ((locate-library "w3m") 'w3m)
-       ((executable-find "w3m") 'w3m-standalone)
+       ((executable-find "w3m") (if (locate-library "w3m")
+                                    'w3m
+                                  'w3m-standalone))
        ((executable-find "links") 'links)
        ((executable-find "lynx") 'lynx)
        (t 'html2text))