changeset 22352:312d6d72be14

(rmail-summary-rmail-update): Set message unseen only if `rmail-summary-put-back-unseen' is non-nil.
author Karl Heuer <kwzh@gnu.org>
date Thu, 04 Jun 1998 06:47:29 +0000
parents fbe69401c609
children 402ebb81ae84
files lisp/mail/rmailsum.el
diffstat 1 files changed, 2 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/lisp/mail/rmailsum.el	Thu Jun 04 06:25:21 1998 +0000
+++ b/lisp/mail/rmailsum.el	Thu Jun 04 06:47:29 1998 +0000
@@ -772,8 +772,9 @@
 		    ;; If we first saw the previous message in this search,
 		    ;; and we have gone to a different message while searching,
 		    ;; put back `unseen' on the former one.
+		    (if rmail-summary-put-back-unseen
 		    (rmail-set-attribute "unseen" t
-					 rmail-current-message)
+					 rmail-current-message))
 		    ;; Arrange to do that later, for the new current message,
 		    ;; if it still has `unseen'.
 		    (setq rmail-summary-put-back-unseen