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

index 8109619..4d0b435 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 a230f55..9dd8019 100644 (file)
@@ -625,7 +625,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))