;;; Maintainer: MORIOKA Tomohiko <morioka@jaist.ac.jp>
 ;;; Created: 1994/08/21 (renamed from mime.el;
 ;;;                      1996/05/24 renamed from tm-edit.el)
-;;; Version: $Revision: 0.2 $
+;;; Version: $Revision: 0.3 $
 ;;; 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.2 1996-05-24 14:56:34 morioka Exp $")
+  "$Id: mime-edit.el,v 0.3 1996-05-24 15:16:37 morioka Exp $")
 
 (defconst mime-editor/version (get-version-string mime-editor/RCS-ID))
 
        t
       ;; At first, go to the end.
       (cond ((re-search-forward mime-editor/beginning-tag-regexp nil t)
-            (goto-char (match-beginning 0)) ;For multiline tag
-            (forward-line -1)
-            (end-of-line)
+            (goto-char (1- (match-beginning 0))) ;For multiline tag
             )
            (t
             (goto-char (point-max))
             ))
       ;; Then search for the beginning. 
       (re-search-backward mime-editor/end-tag-regexp nil t)
-      (beginning-of-line)
       (or (looking-at mime-editor/beginning-tag-regexp)
          ;; Restore previous point.
          (progn
              (mime-encode-region beg (mime-editor/content-end) encoding)
              (mime-editor/define-encoding encoding)
              ))
-       (forward-line 1)
+       (goto-char (mime-editor/content-end))
        )
        ((null encoding)                ;Encoding is not specified.
        ;; Application, image, audio, video, and any other