This commit was generated by cvs2svn to compensate for changes in r422,
[elisp/tm.git] / tm-setup.el
index 1e1ec65..e0f3f6d 100644 (file)
@@ -1,6 +1,31 @@
 ;;;
-;;; $Id: tm-setup.el,v 7.0 1995/12/17 13:02:30 morioka Exp $
+;;; tm-setup.el --- setup file for tm viewer.
 ;;;
+;;; Copyright (C) 1995 Free Software Foundation, Inc.
+;;; Copyright (C) 1994 .. 1996 MORIOKA Tomohiko
+;;;
+;;; Author: MORIOKA Tomohiko <morioka@jaist.ac.jp>
+;;; Version:
+;;;    $Id: tm-setup.el,v 7.3 1996/05/08 15:00:00 morioka Exp $
+;;; Keywords: mail, news, MIME, multimedia, multilingual, encoded-word
+;;;
+;;; 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 'tl-misc)
 
                 (method . mime/decode-message/external-ftp)
                 ))
     (autoload 'mime/decode-message/external-ftp "tm-ftp")
-
-    ;; for text/richtext
-    (set-alist 'mime-viewer/content-filter-alist
-              "text/richtext" (function mime-viewer/filter-text/richtext))
-    (autoload 'mime-viewer/filter-text/richtext "tm-rich")
-
-    ;; for text/enriched
-    (set-alist 'mime-viewer/content-filter-alist
-              "text/enriched" (function mime-viewer/filter-text/enriched))
-    (autoload 'mime-viewer/filter-text/enriched "tm-rich")
-
+    
     ;; for image/*
-    (if (string-match "XEmacs" emacs-version)
+    (if running-xemacs
        (require 'tm-image)
       )
     
        (add-hook 'gnusutil-initialize-hook le)
        )
     (progn
-      (add-hook 'gnus-Startup-hook le)
-      (add-hook 'gnus-startup-hook le)
+      (add-hook 'gnus-Startup-hook le 'append)
+      (add-hook 'gnus-startup-hook le 'append)
       )))
 
 
 
 (provide 'tm-setup)
 
-;;; Local Variables:
-;;; mode: emacs-lisp
-;;; mode: outline-minor
-;;; outline-regexp: ";;; @+\\|(......"
-;;; End:
+;;; tm-setup.el ends here