* elmo-localdir.el (elmo-folder-message-make-temp-files): Use
authorteranisi <teranisi>
Wed, 12 Dec 2001 14:51:07 +0000 (14:51 +0000)
committerteranisi <teranisi>
Wed, 12 Dec 2001 14:51:07 +0000 (14:51 +0000)
elmo-copy-file instead of elmo-add-name-to-file.

* elmo-nmz.el (elmo-folder-message-make-temp-files): Ditto.

elmo/ChangeLog
elmo/elmo-localdir.el
elmo/elmo-nmz.el

index 5889ce4..54adbc0 100644 (file)
@@ -1,5 +1,10 @@
 2001-12-12  Yuuichi Teranishi  <teranisi@gohome.org>
 
+       * elmo-localdir.el (elmo-folder-message-make-temp-files): Use
+       elmo-copy-file instead of elmo-add-name-to-file.
+
+       * elmo-nmz.el (elmo-folder-message-make-temp-files): Ditto.
+
        * elmo-nmz.el (elmo-map-folder-list-message-locations): Allow
        "file://..." index.
 
index 3f8c916..b6311d1 100644 (file)
   (let ((temp-dir (elmo-folder-make-temporary-directory folder))
        (cur-number (or start-number 0)))
     (dolist (number numbers)
-      (elmo-add-name-to-file
+      (elmo-copy-file
        (expand-file-name
        (int-to-string number)
        (elmo-localdir-folder-directory-internal folder))
index 5392a62..cda62cb 100644 (file)
@@ -178,7 +178,7 @@ If the value is a list, all elements are used as index paths for namazu."
   (let ((temp-dir (elmo-folder-make-temporary-directory folder))
        (cur-number (if start-number 0)))
     (dolist (number numbers)
-      (elmo-add-name-to-file
+      (elmo-copy-file
        (elmo-message-file-name folder number)
        (expand-file-name
        (int-to-string (if start-number (incf cur-number) number))