]> git.eshelyaron.com Git - emacs.git/commitdiff
2000-09-29 09:56:34 ShengHuo ZHU <zsh@cs.rochester.edu>
authorDave Love <fx@gnu.org>
Wed, 8 Nov 2000 23:19:00 +0000 (23:19 +0000)
committerDave Love <fx@gnu.org>
Wed, 8 Nov 2000 23:19:00 +0000 (23:19 +0000)
* nndoc.el (nndoc-dissect-mime-parts-sub): Correctly mark body-begin.

lisp/gnus/nndoc.el

index 09d38aad7ed80ae6bd621ae1d32b15be18f96525..a9824febc2c59d848b6b0381f374382627b5a00b 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