Correctly mark body-begin.
authorShengHuo ZHU <zsh@cs.rochester.edu>
Fri, 29 Sep 2000 12:59:03 +0000 (12:59 +0000)
committerShengHuo ZHU <zsh@cs.rochester.edu>
Fri, 29 Sep 2000 12:59:03 +0000 (12:59 +0000)
lisp/ChangeLog
lisp/nndoc.el

index 46dd848..7bcf3b2 100644 (file)
@@ -1,3 +1,7 @@
+2000-09-29 09:56:34  ShengHuo ZHU  <zsh@cs.rochester.edu>
+
+       * nndoc.el (nndoc-dissect-mime-parts-sub): Correctly mark body-begin.
+
 2000-09-29 09:14:08  ShengHuo ZHU  <zsh@cs.rochester.edu>
 
        * gnus-sum.el (gnus-summary-enter-digest-group): Decode to-address.
index 09d38aa..a9824fe 100644 (file)
@@ -701,7 +701,8 @@ PARENT is the message-ID of the parent summary line, or nil for none."
        subject content-type type subtype boundary-regexp)
     ;; Gracefully handle a missing body.
     (goto-char head-begin)
-    (if (search-forward "\n\n" body-end t)
+    (if (or (and (eq (char-after) ?\n) (or (forward-char 1) t))
+           (search-forward "\n\n" body-end t))
        (setq head-end (1- (point))
              body-begin (point))
       (setq head-end body-end