(rmail-add-mbox-headers): Restore error message about invalid RFC2822 format.
authorEli Zaretskii <eliz@gnu.org>
Sat, 8 Aug 2009 10:26:44 +0000 (10:26 +0000)
committerEli Zaretskii <eliz@gnu.org>
Sat, 8 Aug 2009 10:26:44 +0000 (10:26 +0000)
lisp/mail/rmail.el

index f10b47b..d50dace 100644 (file)
@@ -2096,7 +2096,8 @@ new messages.  Return the number of new messages."
                    (setq stop t)
                  (goto-char (match-beginning 0))
                  (forward-char 2))
-               (setq start (point)))))
+               (setq start (point)))
+           (rmail-error-bad-format)))
        count))))
 \f
 (defun rmail-get-header-1 (name)