(entity-buffer): Must move to (point-min) before search boundary
authormorioka <morioka>
Wed, 4 Nov 1998 06:59:16 +0000 (06:59 +0000)
committermorioka <morioka>
Wed, 4 Nov 1998 06:59:16 +0000 (06:59 +0000)
between header and body (to fix problem in Emacs).

lisp/mmgnus.el

index 489065d..a2f5d2c 100644 (file)
@@ -36,6 +36,7 @@
     (set-buffer gnus-original-article-buffer)
     (mime-entity-set-header-start-internal entity (point-min))
     (mime-entity-set-body-end-internal entity (point-max))
+    (goto-char (point-min))
     (if (re-search-forward "^$" nil t)
        (progn
          (mime-entity-set-header-end-internal entity (match-end 0))