tm 7.36.
[elisp/tm.git] / tm-html.el
index 6558311..0f832fc 100644 (file)
@@ -1,12 +1,33 @@
 ;;;
 ;;; tm-html.el: a tm-view internal decoder for HTML
 ;;;
-;;; by MORIOKA Tomohiko <morioka@jaist.ac.jp> (1995/09/14)
+;;; Copyright (C) 1995 Free Software Foundation, Inc.
+;;; Copyright (C) 1995 MORIOKA Tomohiko
 ;;;
-;;; based on tm-latex.el by OKABE Yasuo <okabe@kudpc.kyoto-u.ac.jp>
+;;; Author: MORIOKA Tomohiko <morioka@jaist.ac.jp>
+;;; Created: 1995/9/14
+;;;    based on tm-latex.el by OKABE Yasuo <okabe@kudpc.kyoto-u.ac.jp>
+;;; Version:
+;;;    $Id: tm-html.el,v 7.4 1995/12/14 15:33:55 morioka Exp $
+;;; Keywords: mail, news, MIME, multimedia, HTML, WWW
 ;;;
-;;; $Id: tm-html.el,v 7.1 1995/11/16 15:43:34 morioka Exp $
+;;; This file is part of tm (Tools for MIME).
 ;;;
+;;; This program is free software; you can redistribute it and/or
+;;; modify it under the terms of the GNU General Public License as
+;;; published by the Free Software Foundation; either version 2, or
+;;; (at your option) any later version.
+;;;
+;;; This program is distributed in the hope that it will be useful,
+;;; but WITHOUT ANY WARRANTY; without even the implied warranty of
+;;; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
+;;; General Public License for more details.
+;;;
+;;; You should have received a copy of the GNU General Public License
+;;; along with This program.  If not, write to the Free Software
+;;; Foundation, 675 Mass Ave, Cambridge, MA 02139, USA.
+;;;
+;;; Code:
 
 (require 'tm-view)
 
         (name (or (cdr (assoc "name" cal))
                   (cdr (assoc "x-name" cal))
                   (concat (make-temp-name "tm") ".html")))
-        (encoding (cdr (assoc "encoding" cal)))
+        (encoding (cdr (assq 'encoding cal)))
+        ;; modified by Shuhei KOBAYASHI <shuhei@cmpt01.phys.tohoku.ac.jp>
+        ;;     1995/11/17 (cf. [tm-ja:1117])
+         (html-helper-build-new-buffer nil)
         )
     (switch-to-buffer mime::article/preview-buffer)
     (funcall mime/find-file-function (expand-file-name name mime/tmp-dir))
@@ -38,6 +62,7 @@
 (set-atype 'mime/content-decoding-condition
           '((type . "text/html")
             (method . mime-article/decode-html)
+            (mode . "extract")
             ))