From 8146514637c6c9c41f6e736f71c2fa2917f04c52 Mon Sep 17 00:00:00 2001 From: Katsumi Yamaoka Date: Sun, 23 May 2004 23:18:06 +0000 Subject: [PATCH] (mm-text-html-renderer): Make sure w3m exists in addition to emacs-w3m. --- lisp/ChangeLog | 5 +++++ lisp/mm-decode.el | 5 +++-- 2 files changed, 8 insertions(+), 2 deletions(-) diff --git a/lisp/ChangeLog b/lisp/ChangeLog index 9a03688bf..87440bb39 100644 --- a/lisp/ChangeLog +++ b/lisp/ChangeLog @@ -1,3 +1,8 @@ +2004-05-23 Katsumi Yamaoka + + * mm-decode.el (mm-text-html-renderer): Make sure w3m exists in + addition to emacs-w3m. + 2004-05-23 Lars Magne Ingebrigtsen * assistant.el (assistant-authinfo-data): New function. 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)) -- 2.25.1