aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--filter/ChangeLog7
-rw-r--r--filter/filtertypes.xml2
-rw-r--r--filter/vfoldertypes.xml2
3 files changed, 9 insertions, 2 deletions
diff --git a/filter/ChangeLog b/filter/ChangeLog
index 2732f6de4e..a3a32dd59b 100644
--- a/filter/ChangeLog
+++ b/filter/ChangeLog
@@ -1,3 +1,10 @@
+2001-07-10 Peter Williams <peterw@ximian.com>
+
+ * vfoldertypes.xml: Put a match-all around the not-body-contains
+ to make it work per-message.
+
+ * filtertypes.xml: Same.
+
2001-07-05 Jeffrey Stedfast <fejj@ximian.com>
* filter-rule.c (get_widget): Set the focus on the title of the
diff --git a/filter/filtertypes.xml b/filter/filtertypes.xml
index e40ca760ec..faab9345fc 100644
--- a/filter/filtertypes.xml
+++ b/filter/filtertypes.xml
@@ -309,7 +309,7 @@
<option value="not contains">
<title>does not contain</title>
<code>
- (not (body-contains ${word}))
+ (match-all (not (body-contains ${word})))
</code>
</option>
</input>
diff --git a/filter/vfoldertypes.xml b/filter/vfoldertypes.xml
index 3849635fac..174810b395 100644
--- a/filter/vfoldertypes.xml
+++ b/filter/vfoldertypes.xml
@@ -181,7 +181,7 @@
<option value="not contains">
<title>does not contain</title>
<code>
- (not (body-contains ${word}))
+ (match-all (not (body-contains ${word})))
</code>
</option>
</input>