changeset 104199:0462fa7b12af

(rmail-add-mbox-headers): Restore error message about invalid RFC2822 format.
author Eli Zaretskii <eliz@gnu.org>
date Sat, 08 Aug 2009 10:26:44 +0000
parents bf054fdb0bf0
children a2322c1160ed
files lisp/mail/rmail.el
diffstat 1 files changed, 2 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/lisp/mail/rmail.el	Sat Aug 08 10:05:53 2009 +0000
+++ b/lisp/mail/rmail.el	Sat Aug 08 10:26:44 2009 +0000
@@ -2096,7 +2096,8 @@
 		    (setq stop t)
 		  (goto-char (match-beginning 0))
 		  (forward-char 2))
-		(setq start (point)))))
+		(setq start (point)))
+	    (rmail-error-bad-format)))
 	count))))
 
 (defun rmail-get-header-1 (name)