* wl-summary.el: Fixed last change, again.
authorteranisi <teranisi>
Tue, 17 Sep 2002 12:53:25 +0000 (12:53 +0000)
committerteranisi <teranisi>
Tue, 17 Sep 2002 12:53:25 +0000 (12:53 +0000)
wl/wl-summary.el

index d91c62a..9d0f580 100644 (file)
@@ -3936,8 +3936,9 @@ If ARG, exit virtual folder."
                      t)
            number (or number (wl-summary-message-number))
            mark (elmo-message-mark folder number))
-      ;; folder mark.
-      (elmo-folder-mark-as-read folder (list number) no-folder-mark)
+      (when (member mark (elmo-msgdb-unread-marks))
+       ;; folder mark.
+       (elmo-folder-mark-as-read folder (list number) no-folder-mark))
       (elmo-message-set-cached folder number t)
       (setq new-mark (elmo-message-mark folder number))
       ;;