X-Git-Url: http://git.chise.org/gitweb/?a=blobdiff_plain;f=tm-w3.el;h=55c3f75e6479739d31a401347baf793fa831f231;hb=04947254acc41d871e666080acaf7330d60d32e4;hp=195afbad889668d9636dedcd6caec6a53209d55b;hpb=79e2501a9ffdbaa2d42cb50fc7e350fc884b0075;p=elisp%2Ftm.git diff --git a/tm-w3.el b/tm-w3.el index 195afba..55c3f75 100644 --- a/tm-w3.el +++ b/tm-w3.el @@ -5,7 +5,7 @@ ;;; ;;; based on tm-latex.el by OKABE Yasuo ;;; -;;; $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) @@ -33,12 +33,7 @@ (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) ))