X-Git-Url: http://cgit.sxemacs.org/?a=blobdiff_plain;f=lisp%2Fmm-decode.el;h=29c41c69b23b62ab39de87fca8ab23836acb21bc;hb=4724093b5726d891e49e07191b52a14db1b93ecd;hp=5d0ce15e9c8249f52fd3263fc6368da46242c52b;hpb=125d88b46ad2efa065f06d5dac37a245b488985a;p=gnus diff --git a/lisp/mm-decode.el b/lisp/mm-decode.el index 5d0ce15e9..29c41c69b 100644 --- a/lisp/mm-decode.el +++ b/lisp/mm-decode.el @@ -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))