* elmo2.el (elmo-multi-folder-diff): Fixed problem of filter folder.
authorteranisi <teranisi>
Mon, 4 Sep 2000 04:55:59 +0000 (04:55 +0000)
committerteranisi <teranisi>
Mon, 4 Sep 2000 04:55:59 +0000 (04:55 +0000)
elmo/ChangeLog
elmo/elmo2.el

index 657dcb1..91bfa07 100644 (file)
@@ -1,5 +1,7 @@
 2000-09-04  Yuuichi Teranishi  <teranisi@gohome.org>
 
+       * elmo2.el (elmo-multi-folder-diff): Fixed problem of filter folder.
+
        * elmo-imap4.el (elmo-imap4-authenticator-alist): Added `plain' entry.
        (elmo-imap4-send-command): Use `elmo-imap4-current-response' instead
        of `response'.
index 79b01b6..aa13003 100644 (file)
@@ -774,7 +774,8 @@ without cacheing."
       (setq count (+ 1 count))
       (setq flds (cdr flds)))
     (while diffs
-      (setq unsync (+ unsync (car (car diffs))))
+      (and (car (car diffs))
+          (setq unsync (+ unsync (car (car diffs)))))
       (setq nomif  (+ nomif (cdr (car diffs))))
       (setq diffs (cdr diffs)))
     (elmo-folder-set-info-hashtb fld nil nomif)