Fix bogus test in body of a while loop

* lisp/gnus/nnheader.el (nnheader-find-nov-line): Fix return value
from while loop.
This commit is contained in:
Lars Ingebrigtsen 2019-12-26 19:46:19 +01:00
parent 9b5ac5f1bc
commit ea5e33d1da

View file

@ -487,8 +487,8 @@ the line could be found."
(< num article)))
(forward-line 1)
(setq found (point))
(or (eobp)
(= (setq num (read cur)) article)))
(unless (eobp)
(setq num (read cur))))
(unless (eq num article)
(goto-char found)))
(beginning-of-line)