changeset 10191:f81679f84f68

(rmail-first-unseen-message): Fix 1-off error.
author Richard M. Stallman <rms@gnu.org>
date Tue, 20 Dec 1994 15:42:57 +0000
parents 2569f4d3073e
children dd28f1cd68d2
files lisp/mail/rmail.el
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/lisp/mail/rmail.el	Mon Dec 19 19:09:39 1994 +0000
+++ b/lisp/mail/rmail.el	Tue Dec 20 15:42:57 1994 +0000
@@ -1734,7 +1734,7 @@
 	found)
     (save-restriction
       (widen)
-      (while (and (not found) (< current rmail-total-messages))
+      (while (and (not found) (<= current rmail-total-messages))
 	(if (rmail-message-labels-p current ", ?\\(unseen\\),")
 	    (setq found current))
 	(setq current (1+ current))))