projects
/
emacs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
9b5ac5f
)
Fix bogus test in body of a while loop
author
Lars Ingebrigtsen
<larsi@gnus.org>
Thu, 26 Dec 2019 18:46:19 +0000
(19:46 +0100)
committer
Lars Ingebrigtsen
<larsi@gnus.org>
Thu, 26 Dec 2019 18:46:27 +0000
(19:46 +0100)
* lisp/gnus/nnheader.el (nnheader-find-nov-line): Fix return value
from while loop.
lisp/gnus/nnheader.el
patch
|
blob
|
history
diff --git
a/lisp/gnus/nnheader.el
b/lisp/gnus/nnheader.el
index 28c4cebb2d1c5915e23361244bbb7f890008d86a..a30fa6379600d82cf97a931fa81b3673810d0b71 100644
(file)
--- a/
lisp/gnus/nnheader.el
+++ b/
lisp/gnus/nnheader.el
@@
-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)