* gnus-util.el (gnus-parse-without-error): Add edebug-form-spec.
authorShengHuo ZHU <zsh@cs.rochester.edu>
Sat, 26 Jan 2002 19:03:42 +0000 (19:03 +0000)
committerShengHuo ZHU <zsh@cs.rochester.edu>
Sat, 26 Jan 2002 19:03:42 +0000 (19:03 +0000)
* nnagent.el (nnagent-retrieve-headers): loop until eobp.

lisp/ChangeLog
lisp/gnus-util.el
lisp/nnagent.el

index f064aec..7bcb318 100644 (file)
@@ -1,3 +1,9 @@
+2002-01-26  ShengHuo ZHU  <zsh@cs.rochester.edu>
+
+       * gnus-util.el (gnus-parse-without-error): Add edebug-form-spec.
+
+       * nnagent.el (nnagent-retrieve-headers): loop until eobp.
+
 2002-01-26  Lars Magne Ingebrigtsen  <larsi@gnus.org>
 
        * gnus-agent.el (gnus-agent-load-alist): Use new caching
index 3a42cad..dad48b5 100644 (file)
@@ -1261,6 +1261,7 @@ SPEC is a predicate specifier that contains stuff like `or', `and',
           t)))
 
 (put 'gnus-parse-without-error 'lisp-indent-function 0)
+(put 'gnus-parse-without-error 'edebug-form-spec '(body))
 
 (defmacro gnus-parse-without-error (&rest body)
   "Allow continuing onto the next line even if an error occurs."
index e22591e..5ec2055 100644 (file)
       (nnheader-insert-nov-file file (car articles))
       (goto-char (point-min))
       (gnus-parse-without-error
-       (while arts
+       (while (and arts (not (eobp)))
          (setq n (read (current-buffer)))
          (when (> n (car arts))
            (beginning-of-line))