[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

w3 vs w3m



Hi!

Seems, new Emacs use w3m instead of w3. I'm not sure about XEmacs,
however. Does anybody have objections if I change w3 to w3m in SEMI?
Without this fix it's not possible to see html messages properly.

diff --git a/mime-w3.el b/mime-w3.el
index 6c3789d..1215e51 100644
--- a/mime-w3.el
+++ b/mime-w3.el
@@ -25,7 +25,7 @@
 ;;; Code:
 
 (condition-case nil
-    (require 'w3)
+    (require 'w3m)
   (error nil))
 (require 'mime)
 
@@ -59,9 +59,9 @@
        (mime-insert-text-content entity)
        (run-hooks 'mime-text-decode-hook)
        (condition-case err
-	   (w3-region p (point-max))
+	   (w3m-region p (point-max))
 	 (error (message "%s" err)))
-       (mime-put-keymap-region p (point-max) w3-mode-map)
+       (mime-put-keymap-region p (point-max) w3m-mode-map)
        ))))
 
 (defun url-cid (url &optional proxy-info)
diff --git a/semi-setup.el b/semi-setup.el
index 0c1931c..9cf2726 100644
--- a/semi-setup.el
+++ b/semi-setup.el
@@ -53,7 +53,7 @@ it is used as hook to set."
 
 ;; for text/html
 (defvar mime-setup-enable-inline-html
-  (module-installed-p 'w3)
+  (module-installed-p 'w3m)
   "*If it is non-nil, semi-setup sets up to use mime-w3.")
 
 (if mime-setup-enable-inline-html

-- 
wbr, Vitaly