*** empty log message ***
authorRoland McGrath <roland@gnu.org>
Tue, 23 Jul 1991 20:23:44 +0000 (20:23 +0000)
committerRoland McGrath <roland@gnu.org>
Tue, 23 Jul 1991 20:23:44 +0000 (20:23 +0000)
lisp/mail/rmail.el

index 94adb25..3147022 100644 (file)
@@ -1158,9 +1158,9 @@ and reverse search is specified by a negative numeric arg."
     (save-restriction
       (widen)
       (while (and (not found) (< current rmail-total-messages))
-       (setq current (1+ current))
        (if (rmail-message-labels-p current ", ?\\(unseen\\),")
-           (setq found current))))
+           (setq found current))
+       (setq current (1+ current))))
     (if found
        (rmail-show-message found))))
 \f