From 1dbd9103606128bc861a4210f14f1dbc08f05fb3 Mon Sep 17 00:00:00 2001 From: Karl Heuer Date: Thu, 4 Jun 1998 06:47:29 +0000 Subject: [PATCH] (rmail-summary-rmail-update): Set message unseen only if `rmail-summary-put-back-unseen' is non-nil. --- lisp/mail/rmailsum.el | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/lisp/mail/rmailsum.el b/lisp/mail/rmailsum.el index f9354710749..0e07116fba2 100644 --- a/lisp/mail/rmailsum.el +++ b/lisp/mail/rmailsum.el @@ -772,8 +772,9 @@ Search, the `unseen' attribute is restored.") ;; 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 -- 2.39.2