;;; Maintainer: MORIOKA Tomohiko <morioka@jaist.ac.jp>
;;; Created: 1994/08/21 renamed from mime.el by UMEDA Masanobu;
;;; 1996/05/24 renamed from tm-edit.el
-;;; Version: $Revision: 0.17 $
+;;; Version: $Revision: 0.18 $
;;; Keywords: mail, news, MIME, multimedia, multilingual
;;;
;;; This file is part of SEMI (September, Emacs MIME Interface)
;;;
(defconst mime-editor/RCS-ID
- "$Id: mime-edit.el,v 0.17 1996-05-28 08:12:43 morioka Exp $")
+ "$Id: mime-edit.el,v 0.18 1996-05-28 12:09:10 morioka Exp $")
(defconst mime-editor/version (get-version-string mime-editor/RCS-ID))
(mime-editor::edit-again code-conversion)
(goto-char (point-min))
(save-restriction
- (narrow-to-region (point-min)
- (if (re-search-forward "^$" nil t)
- (match-end 0)
- (point-max)
- ))
+ (narrow-to-region
+ (point-min)
+ (if (re-search-forward
+ (concat "^\\(" (regexp-quote mail-header-separator) "\\)?$")
+ nil t)
+ (match-end 0)
+ (point-max)
+ ))
(goto-char (point-min))
(while (re-search-forward
"^\\(Content-.*\\|Mime-Version\\):" nil t)