(rmail-summary-rmail-update): Use rmail-message-unseen-p.
authorGlenn Morris <rgm@gnu.org>
Thu, 26 Feb 2009 08:23:05 +0000 (08:23 +0000)
committerGlenn Morris <rgm@gnu.org>
Thu, 26 Feb 2009 08:23:05 +0000 (08:23 +0000)
lisp/ChangeLog
lisp/mail/rmailsum.el

index c5e6942..acde5bb 100644 (file)
@@ -1,5 +1,8 @@
 2009-02-26  Glenn Morris  <rgm@gnu.org>
 
+       * mail/rmailsum.el (rmail-summary-rmail-update):
+       Use rmail-message-unseen-p.
+
        * progmodes/cc-vars.el (c-style-variables-are-local-p):
        Mark as safe if boolean.  (Bug#2197)
 
index 6821c1a..6ae14d7 100644 (file)
@@ -947,7 +947,7 @@ Search, the `unseen' attribute is restored.")
                    ;; Arrange to do that later, for the new current message,
                    ;; if it still has `unseen'.
                    (setq rmail-summary-put-back-unseen
-                         (rmail-message-attr-p msg-num rmail-unseen-attr-index)))
+                         (rmail-message-unseen-p msg-num)))
                (setq rmail-summary-put-back-unseen nil))
              ;; Go to the desired message.
              (setq rmail-current-message msg-num)