* elmo-msgdb.el (elmo-msgdb-search-internal): Call itself instead
authorhmurata <hmurata>
Tue, 5 Jun 2001 07:22:58 +0000 (07:22 +0000)
committerhmurata <hmurata>
Tue, 5 Jun 2001 07:22:58 +0000 (07:22 +0000)
of `elmo-msgdb-search-internal-primitive' when condition's car is
`and' or `or'.

elmo/ChangeLog
elmo/elmo-msgdb.el

index 3eb1174..7b0dfa5 100644 (file)
@@ -1,3 +1,9 @@
+2001-06-05  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
+
+       * elmo-msgdb.el (elmo-msgdb-search-internal): Call itself instead
+       of `elmo-msgdb-search-internal-primitive' when condition's car is
+       `and' or `or'.
+
 2001-05-23  Kenichi OKADA  <okada@opaopa.org>
 
        * elmo-nntp.el (elmo-nntp-get-newsgroup-by-msgid): Fix for luna.
index a9be278..7c76117 100644 (file)
@@ -330,14 +330,14 @@ header separator."
    ((vectorp condition)
     (elmo-msgdb-search-internal-primitive condition entity number-list))
    ((eq (car condition) 'and)
-    (and (elmo-msgdb-search-internal-primitive
+    (and (elmo-msgdb-search-internal
          (nth 1 condition) entity number-list)
-        (elmo-msgdb-search-internal-primitive
+        (elmo-msgdb-search-internal
          (nth 2 condition) entity number-list)))
    ((eq (car condition) 'or)
-    (or (elmo-msgdb-search-internal-primitive
+    (or (elmo-msgdb-search-internal
         (nth 1 condition) entity number-list)
-       (elmo-msgdb-search-internal-primitive
+       (elmo-msgdb-search-internal
         (nth 2 condition) entity number-list)))))
 
 (defun elmo-msgdb-delete-msgs (msgdb msgs)