tm 7.85.
[elisp/tm.git] / tm-w3.el
index 195afba..55c3f75 100644 (file)
--- a/tm-w3.el
+++ b/tm-w3.el
@@ -5,7 +5,7 @@
 ;;;
 ;;; based on tm-latex.el by OKABE Yasuo <okabe@kudpc.kyoto-u.ac.jp>
 ;;;
-;;; $Id: tm-w3.el,v 2.0 1995/10/19 07:57:57 morioka Exp $
+;;; $Id: tm-w3.el,v 3.0 1995/10/20 10:42:41 morioka Exp $
 ;;;
 
 (require 'tm-view)
            (re-search-forward "^$")
            (append-to-buffer new-buf (+ (match-end 0) 1) end)
            )))
-    (cond ((string= encoding "quoted-printable")
-          (quoted-printable-decode-region (point-min)(point-max))
-          )
-         ((string= encoding "base64")
-          (base64-decode-region (point-min)(point-max))
-          ))
+    (mime/decode-region encoding (point-min)(point-max))
     (call-interactively mime-viewer/html-default-mode)
     ))