From: morioka Date: Fri, 7 Mar 1997 14:30:34 +0000 (+0000) Subject: Use `turn-on-mime-edit' instead of `mime-edit-mode'. X-Git-Tag: Hokutetsu-Ishikawa-new~169 X-Git-Url: http://git.chise.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=41be29ec9ca956a97074227c086155651dec3319;p=elisp%2Fsemi.git Use `turn-on-mime-edit' instead of `mime-edit-mode'. --- diff --git a/mime-setup.el b/mime-setup.el index 3f38432..1595f35 100644 --- a/mime-setup.el +++ b/mime-setup.el @@ -1,10 +1,10 @@ -;;; mime-setup.el --- setup file for tm viewer and composer. +;;; mime-setup.el --- setup file for MIME viewer and composer. ;; Copyright (C) 1995,1996,1997 Free Software Foundation, Inc. ;; Author: MORIOKA Tomohiko ;; Version: -;; $Id: mime-setup.el,v 0.8 1997-02-28 02:22:38 tmorioka Exp $ +;; $Id: mime-setup.el,v 0.9 1997-03-07 14:30:34 morioka Exp $ ;; Keywords: MIME, multimedia, multilingual, mail, news ;; This file is part of SEMI (SEMI is Emacs MIME Interfaces). @@ -29,8 +29,9 @@ (require 'semi-setup) (require 'alist) -(autoload 'mime-edit-mode "mime-edit" - "Minor mode for editing MIME message." t) +(autoload 'turn-on-mime-edit "mime-edit" + "Unconditionally turn on MIME-Edit minor mode." t) + (autoload 'eword-decode-header "eword-decode" "Decode MIME encoded-words in header fields." t) @@ -96,7 +97,7 @@ ;;; (add-hook 'mail-setup-hook 'eword-decode-header) -(add-hook 'mail-setup-hook 'mime-edit-mode 'append) +(add-hook 'mail-setup-hook 'turn-on-mime-edit 'append) (add-hook 'mail-send-hook 'mime-edit-maybe-translate) (set-alist 'mime-edit-split-message-sender-alist 'mail-mode (function @@ -109,7 +110,7 @@ ;;; (defun mime-setup-mh-draft-setting () - (mime-edit-mode) + (turn-on-mime-edit) (make-local-variable 'mail-header-separator) (setq mail-header-separator "--------") (save-excursion @@ -144,7 +145,7 @@ (or (boundp 'epoch::version) (progn - (add-hook 'message-setup-hook 'mime-edit-mode) + (add-hook 'message-setup-hook 'turn-on-mime-edit) (add-hook 'message-setup-hook 'message-maybe-setup-default-charset) (add-hook 'message-send-hook 'mime-edit-maybe-translate) (add-hook 'message-header-hook 'eword-encode-header)