From: morioka Date: Fri, 16 Oct 1998 06:05:14 +0000 (+0000) Subject: (emh-setup-mh-draft-setting): Set up buffer local value of X-Git-Tag: emh-1_8-199811302358~3 X-Git-Url: http://git.chise.org/gitweb/?a=commitdiff_plain;h=b97df24bd75f991218d491eeabd92c32fc35dacc;p=elisp%2Femh.git (emh-setup-mh-draft-setting): Set up buffer local value of `mail-header-separator' before using `eword-decode-header'. --- diff --git a/emh-setup.el b/emh-setup.el index e30830c..3b16784 100644 --- a/emh-setup.el +++ b/emh-setup.el @@ -3,7 +3,7 @@ ;; Copyright (C) 1994,1995,1996,1997 Free Software Foundation, Inc. ;; Author: MORIOKA Tomohiko -;; Version: $Id: emh-setup.el,v 0.2.4.1 1998-10-16 05:59:48 morioka Exp $ +;; Version: $Id: emh-setup.el,v 0.2.4.2 1998-10-16 06:05:14 morioka Exp $ ;; Keywords: mail, news, MIME, multimedia, multilingual, encoded-word ;; This file is part of SEMI (SEMI is Emacs MIME Interfaces). @@ -41,10 +41,10 @@ "Unconditionally turn on MIME-Edit minor mode." t) (defun emh-setup-mh-draft-setting () - (eword-decode-header 'code-conversion mail-header-separator) - (turn-on-mime-edit) (make-local-variable 'mail-header-separator) (setq mail-header-separator "--------") + (eword-decode-header nil mail-header-separator) + (turn-on-mime-edit) (save-excursion (goto-char (point-min)) (setq buffer-read-only nil)