Revert last change.
authorkaoru <kaoru>
Mon, 10 Dec 2001 06:27:15 +0000 (06:27 +0000)
committerkaoru <kaoru>
Mon, 10 Dec 2001 06:27:15 +0000 (06:27 +0000)
wl/ChangeLog
wl/wl-folder.el

index 3a55c87..8d97daf 100644 (file)
@@ -2,7 +2,6 @@
 
        * wl-folder.el (wl-folder-check-one-entity): Fixed car of return
        value.  Refactoring `wl-folder-notify-deleted' is nil case.
-       Fixed unread number mismatch when all-unread < unread.
 
 2001-12-08  Yuuichi Teranishi  <teranisi@gohome.org>
 
index bea3893..8d07931 100644 (file)
@@ -831,6 +831,7 @@ Optional argument ARG is repeart count."
                    (wl-summary-count-unread (elmo-msgdb-mark-load
                                              (elmo-folder-msgdb-path
                                               folder)))))
+      (setq unread (min unread (- (or (cdr nums) 0) (or (car nums) 0))))
       (when new (setq unread (- unread new)))
       (wl-folder-entity-hashtb-set wl-folder-entity-hashtb entity
                                   (list (or new (car nums))