* elmo-pipe.el (elmo-folder-clear): Implemented clear copied-list.
authorhmurata <hmurata>
Thu, 10 Apr 2003 00:14:49 +0000 (00:14 +0000)
committerhmurata <hmurata>
Thu, 10 Apr 2003 00:14:49 +0000 (00:14 +0000)
elmo/ChangeLog
elmo/elmo-pipe.el

index 2203b05..b33dbdd 100644 (file)
@@ -1,3 +1,7 @@
+2003-04-10  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
+
+       * elmo-pipe.el (elmo-folder-clear): Implemented clear copied-list.
+
 2003-03-30  Yoichi NAKAYAMA  <yoichi@geiin.org>
 
        * elmo.el (elmo-folder-delete): Confirm deletion here, return t if
index c4194b7..b57a9b8 100644 (file)
   (elmo-message-fetch (elmo-pipe-folder-dst-internal folder)
                      number strategy section outbuf unseen))
 
+(luna-define-method elmo-folder-clear :after ((folder elmo-pipe-folder)
+                                             &optional keep-killed)
+  (unless keep-killed
+    (elmo-pipe-folder-copied-list-save folder nil)))
+
 (luna-define-method elmo-folder-delete-messages ((folder elmo-pipe-folder)
                                                 numbers)
   (elmo-folder-delete-messages (elmo-pipe-folder-dst-internal folder)