* elmo-filter.el (elmo-folder-msgdb-create): Check the target folder.
authorteranisi <teranisi>
Wed, 8 Oct 2003 13:02:04 +0000 (13:02 +0000)
committerteranisi <teranisi>
Wed, 8 Oct 2003 13:02:04 +0000 (13:02 +0000)
elmo/ChangeLog
elmo/elmo-filter.el

index 716a536..a98ee58 100644 (file)
@@ -1,6 +1,7 @@
 2003-10-08  Yuuichi Teranishi  <teranisi@gohome.org>
 
        * elmo-filter.el (elmo-folder-search-requires-msgdb-p): Define.
+       (elmo-folder-msgdb-create): Check the target folder.
 
 2003-10-07  Yuuichi Teranishi  <teranisi@gohome.org>
 
index 10c469c..575b804 100644 (file)
   (if (elmo-filter-folder-require-msgdb-internal folder)
       (let* ((target-folder (elmo-filter-folder-target-internal folder))
             (len (length numlist))
-            (msgdb (elmo-folder-msgdb target-folder))
+            (msgdb (progn
+                     (elmo-folder-check target-folder)
+                     (elmo-folder-msgdb target-folder)))
             (new-msgdb (elmo-make-msgdb))
             message-id entity)
        (when (> len elmo-display-progress-threshold)