;;; emh-setup.el --- setup file for emh.
-;; Copyright (C) 1994,1995,1996,1997 Free Software Foundation, Inc.
+;; Copyright (C) 1994,1995,1996,1997,1998 Free Software Foundation, Inc.
;; Author: MORIOKA Tomohiko <morioka@jaist.ac.jp>
-;; Version: $Id: emh-setup.el,v 0.2 1997-08-05 15:07:32 morioka Exp $
-;; Keywords: mail, news, MIME, multimedia, multilingual, encoded-word
+;; Keywords: mh-e, mail, news, MIME, multimedia, multilingual
-;; This file is part of SEMI (SEMI is Emacs MIME Interfaces).
+;; This file is part of emh.
;; This program is free software; you can redistribute it and/or
;; modify it under the terms of the GNU General Public License as
"Unconditionally turn on MIME-Edit minor mode." t)
(defun emh-setup-mh-draft-setting ()
- (turn-on-mime-edit)
(make-local-variable 'mail-header-separator)
(setq mail-header-separator "--------")
+ (eword-decode-header nil mail-header-separator)
+ (let ((ua mime-edit-user-agent-value))
+ (make-local-variable 'mime-edit-user-agent-value)
+ (setq mime-edit-user-agent-value (concat "EMH/" emh-version " " ua))
+ )
+ (turn-on-mime-edit)
(save-excursion
(goto-char (point-min))
(setq buffer-read-only nil)