2001-01-19 Akihiro MOTOKI <mokkun@iname.com>
authorteranisi <teranisi>
Fri, 19 Jan 2001 09:08:06 +0000 (09:08 +0000)
committerteranisi <teranisi>
Fri, 19 Jan 2001 09:08:06 +0000 (09:08 +0000)
* wl-expire.el (wl-expire-hide):
Call `wl-expire-delete-reserve-marked-msgs-from-list'.

wl/ChangeLog
wl/wl-expire.el

index 48fe912..ddcc282 100644 (file)
@@ -1,3 +1,8 @@
+2001-01-19  Akihiro MOTOKI <mokkun@iname.com>
+
+       * wl-expire.el (wl-expire-hide):
+       Call `wl-expire-delete-reserve-marked-msgs-from-list'.
+
 2001-01-19  Yuuichi Teranishi  <teranisi@gohome.org>
 
        * wl-draft.el (wl-draft-reply): Use `mime-find-field-decoder' to
index e2648a8..178dab0 100644 (file)
@@ -465,8 +465,12 @@ Refile to archive folder followed message date."
     deleted-list
     ))
 
-(defun wl-expire-hide (folder hide-list msgdb)
-  ""
+(defun wl-expire-hide (folder hide-list msgdb &optional no-reserve-marks)
+  "Hide message for expire."
+  (unless no-reserve-marks
+    (setq hide-list
+         (wl-expire-delete-reserve-marked-msgs-from-list
+          hide-list (elmo-msgdb-get-mark-alist msgdb))))
   (let ((mess (format "Hiding %s msgs..." (length hide-list))))
     (message mess)
     (elmo-msgdb-delete-msgs folder hide-list msgdb t)