changeset 17000:7fc1577aa8e7

(nnheader-insert-head): Handle the case that the length of header is changed because of code conversion.
author Karl Heuer <kwzh@gnu.org>
date Thu, 20 Feb 1997 05:38:08 +0000
parents b22c4cee0207
children ce8565274e49
files lisp/nnheader.el
diffstat 1 files changed, 2 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/lisp/nnheader.el	Thu Feb 20 05:35:12 1997 +0000
+++ b/lisp/nnheader.el	Thu Feb 20 05:38:08 1997 +0000
@@ -302,8 +302,8 @@
       (let ((beg 0)
 	    format-alist 
 	    (chop 1024))
-	(while (and (eq chop (nth 1 (insert-file-contents
-				     file nil beg (incf beg chop))))
+	(while (and (not (zerop (nth 1 (insert-file-contents
+					file nil beg (incf beg chop)))))
 		    (prog1 (not (search-forward "\n\n" nil t)) 
 		      (goto-char (point-max)))
 		    (or (null nnheader-max-head-length)