Commit ea5e33d1 authored by Lars Ingebrigtsen's avatar Lars Ingebrigtsen

Fix bogus test in body of a while loop

* lisp/gnus/nnheader.el (nnheader-find-nov-line): Fix return value
from while loop.
parent 9b5ac5f1
Pipeline #4408 failed with stage
in 78 minutes and 14 seconds
......@@ -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)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment