(nnmail-split-fancy): Document `junk'.
authorKai Grossjohann <kgrossjo@eu.uu.net>
Wed, 5 Sep 2001 18:13:12 +0000 (18:13 +0000)
committerKai Grossjohann <kgrossjo@eu.uu.net>
Wed, 5 Sep 2001 18:13:12 +0000 (18:13 +0000)
lisp/ChangeLog
lisp/nnmail.el

index 2ce61be..b8cd7ba 100644 (file)
@@ -1,3 +1,7 @@
+2001-09-05  Kai Gro\e,A_\e(Bjohann  <Kai.Grossjohann@CS.Uni-Dortmund.DE>
+
+       * nnmail.el (nnmail-split-fancy): Document `junk'.
+
 2001-09-04  Simon Josefsson  <jas@extundo.com>
 
        * imap.el (imap-search): Don't error if server is broken.
index 9b30b3b..7882789 100644 (file)
@@ -346,6 +346,12 @@ GROUP: Mail will be stored in GROUP (a string).
   return value FUNCTION should be a split, which is then recursively
   processed.
 
+junk: Mail will be deleted.  Use with care!  Do not submerge in water!
+  Example:
+  (setq nnmail-split-fancy
+        '(| (\"Subject\" \"MAKE MONEY FAST\" junk)
+            ...other.rules.omitted...))
+
 FIELD must match a complete field name.  VALUE must match a complete
 word according to the `nnmail-split-fancy-syntax-table' syntax table.
 You can use \".*\" in the regexps to match partial field names or words.