From: Karl Heuer Date: Thu, 4 Jun 1998 06:47:29 +0000 (+0000) Subject: (rmail-summary-rmail-update): Set message X-Git-Tag: emacs-20.3~726 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=1dbd9103606128bc861a4210f14f1dbc08f05fb3;p=emacs.git (rmail-summary-rmail-update): Set message unseen only if `rmail-summary-put-back-unseen' is non-nil. --- 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