Sync up with the latest semi-1_13 branch.
authoryamaoka <yamaoka>
Mon, 30 Aug 1999 00:38:35 +0000 (00:38 +0000)
committeryamaoka <yamaoka>
Mon, 30 Aug 1999 00:38:35 +0000 (00:38 +0000)
ChangeLog
mime-play.el

index 10e6d01..21ce393 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+1999-08-28  MORIOKA Tomohiko  <tomo@m17n.org>
+
+       * mime-play.el (mime-store-message/partial-piece): Use
+       `directory-files' to check number of pieces.
+
 1999-08-26  MORIOKA Tomohiko  <tomo@m17n.org>
 
        * mime-play.el (mime-store-message/partial-piece): Don't refer
index 29545e2..0840304 100644 (file)
@@ -613,7 +613,9 @@ It is registered to variable `mime-preview-quitting-method-alist'."
                         (kill-buffer (current-buffer))
                         )))
                )))
-      (if (and total (> total 0))
+      (if (and total (> total 0)
+              (>= (length (directory-files root-dir nil "^[0-9]+$" t))
+                  total))
          (catch 'tag
            (save-excursion
              (set-buffer (get-buffer-create mime-temp-buffer-name))