diff options
| author | Lars Ingebrigtsen | 2019-12-26 19:46:19 +0100 |
|---|---|---|
| committer | Lars Ingebrigtsen | 2019-12-26 19:46:27 +0100 |
| commit | ea5e33d1da3b363e60c50171c62edba121086551 (patch) | |
| tree | b854d14ff0c5959508076e5e6043529b82c3f85e | |
| parent | 9b5ac5f1bc997577542a4c914fe9d30f80add950 (diff) | |
| download | emacs-ea5e33d1da3b363e60c50171c62edba121086551.tar.gz emacs-ea5e33d1da3b363e60c50171c62edba121086551.zip | |
Fix bogus test in body of a while loop
* lisp/gnus/nnheader.el (nnheader-find-nov-line): Fix return value
from while loop.
| -rw-r--r-- | lisp/gnus/nnheader.el | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lisp/gnus/nnheader.el b/lisp/gnus/nnheader.el index 28c4cebb2d1..a30fa637960 100644 --- a/lisp/gnus/nnheader.el +++ b/lisp/gnus/nnheader.el | |||
| @@ -487,8 +487,8 @@ the line could be found." | |||
| 487 | (< num article))) | 487 | (< num article))) |
| 488 | (forward-line 1) | 488 | (forward-line 1) |
| 489 | (setq found (point)) | 489 | (setq found (point)) |
| 490 | (or (eobp) | 490 | (unless (eobp) |
| 491 | (= (setq num (read cur)) article))) | 491 | (setq num (read cur)))) |
| 492 | (unless (eq num article) | 492 | (unless (eq num article) |
| 493 | (goto-char found))) | 493 | (goto-char found))) |
| 494 | (beginning-of-line) | 494 | (beginning-of-line) |