* elmo-pipe.el (elmo-pipe-drain): Append copied messaged
authorokada <okada>
Mon, 19 Nov 2001 18:50:33 +0000 (18:50 +0000)
committerokada <okada>
Mon, 19 Nov 2001 18:50:33 +0000 (18:50 +0000)
to killed-list.

elmo/ChangeLog
elmo/elmo-pipe.el

index 4f14f74..8e9b013 100644 (file)
@@ -1,3 +1,8 @@
+2001-11-20  Kenichi OKADA  <okada@opaopa.org>
+
+       * elmo-pipe.el (elmo-pipe-drain): Append copied messaged
+       to killed-list.
+
 2001-11-19  Kenichi OKADA  <okada@opaopa.org>
 
        * elmo-pipe.el (elmo-pipe-folder): Add `copy'.
index ebe6166..a06e3de 100644 (file)
     (unwind-protect
        (elmo-folder-move-messages src msgs dst
                                   nil nil copy)
-      (elmo-progress-clear 'elmo-folder-move-messages)))
+      (elmo-progress-clear 'elmo-folder-move-messages))
+    (if copy
+       (elmo-msgdb-append-to-killed-list src msgs)))
   ;; Don't save msgdb here.
   ;; Because summary view of original folder is not updated yet.
   (elmo-folder-close-internal src)
 
 (luna-define-method elmo-folder-message-file-directory ((folder
                                                         elmo-pipe-folder))
-  (elmo-folder-message-file-directory 
+  (elmo-folder-message-file-directory
    (elmo-pipe-folder-dst-internal folder)))
 
 (luna-define-method elmo-folder-message-make-temp-file-p