1 ;;; semi-setup.el --- setup file for MIME-View.
3 ;; Copyright (C) 1994,1995,1996,1997 Free Software Foundation, Inc.
5 ;; Author: MORIOKA Tomohiko <morioka@jaist.ac.jp>
6 ;; Version: $Id: semi-setup.el,v 0.13 1997-03-14 08:00:11 morioka Exp $
7 ;; Keywords: mail, news, MIME, multimedia, multilingual, encoded-word
9 ;; This file is part of SEMI (SEMI is Emacs MIME Interfaces).
11 ;; This program is free software; you can redistribute it and/or
12 ;; modify it under the terms of the GNU General Public License as
13 ;; published by the Free Software Foundation; either version 2, or (at
14 ;; your option) any later version.
16 ;; This program is distributed in the hope that it will be useful, but
17 ;; WITHOUT ANY WARRANTY; without even the implied warranty of
18 ;; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
19 ;; General Public License for more details.
21 ;; You should have received a copy of the GNU General Public License
22 ;; along with GNU Emacs; see the file COPYING. If not, write to the
23 ;; Free Software Foundation, Inc., 59 Temple Place - Suite 330,
24 ;; Boston, MA 02111-1307, USA.
29 (require 'file-detect)
39 ;; for message/partial
40 (require 'mime-partial)
44 ;; for image/* and X-Face
45 (defvar mime-setup-enable-inline-image
48 (and (featurep 'mule)(module-installed-p 'bitmap))
50 "*If it is non-nil, semi-setup sets up to use mime-image.")
52 (if mime-setup-enable-inline-image
53 (call-after-loaded 'mime-view
61 (defvar mime-setup-enable-pgp
62 (module-installed-p 'mailcrypt)
63 "*If it is non-nil, semi-setup sets uf to use mime-pgp.")
66 (if mime-setup-enable-pgp
67 (call-after-loaded 'mime-view
78 (defun semi-setup-load-gnus ()
83 (add-hook 'gnus-load-hook 'semi-setup-load-gnus)
91 ;;; semi-setup.el ends here