1 ;;; mail-mime-setup.el --- setup file for mail-mode.
3 ;; Copyright (C) 1994,1995,1996,1997 Free Software Foundation, Inc.
5 ;; Author: MORIOKA Tomohiko <morioka@jaist.ac.jp>
7 ;; $Id: mail-mime-setup.el,v 0.0 1997-03-14 08:47:06 morioka Exp $
8 ;; Keywords: mail-mode, MIME, multimedia, multilingual, encoded-word
10 ;; This file is part of SEMI (SEMI is Emacs MIME Interfaces).
12 ;; This program is free software; you can redistribute it and/or
13 ;; modify it under the terms of the GNU General Public License as
14 ;; published by the Free Software Foundation; either version 2, or (at
15 ;; your option) any later version.
17 ;; This program is distributed in the hope that it will be useful, but
18 ;; WITHOUT ANY WARRANTY; without even the implied warranty of
19 ;; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
20 ;; General Public License for more details.
22 ;; You should have received a copy of the GNU General Public License
23 ;; along with GNU Emacs; see the file COPYING. If not, write to the
24 ;; Free Software Foundation, Inc., 59 Temple Place - Suite 330,
25 ;; Boston, MA 02111-1307, USA.
32 (autoload 'turn-on-mime-edit "mime-edit"
33 "Unconditionally turn on MIME-Edit minor mode." t)
35 (autoload 'eword-decode-header "eword-decode"
36 "Decode MIME encoded-words in header fields." t)
39 ;;; @ for mail-mode, RMAIL and VM
42 (add-hook 'mail-setup-hook 'eword-decode-header)
43 (add-hook 'mail-setup-hook 'turn-on-mime-edit 'append)
44 (add-hook 'mail-send-hook 'mime-edit-maybe-translate)
45 (set-alist 'mime-edit-split-message-sender-alist
49 (funcall send-mail-function)
56 (provide 'mail-mime-setup)
58 ;;; mail-mime-setup.el ends here