From: Kai Grossjohann Date: Wed, 5 Sep 2001 18:13:12 +0000 (+0000) Subject: (nnmail-split-fancy): Document `junk'. X-Git-Url: https://cgit.sxemacs.org/?a=commitdiff_plain;h=2d8d386afe7c84454483cf830e9252d6182e703f;p=gnus (nnmail-split-fancy): Document `junk'. --- diff --git a/lisp/ChangeLog b/lisp/ChangeLog index 2ce61be95..b8cd7ba70 100644 --- a/lisp/ChangeLog +++ b/lisp/ChangeLog @@ -1,3 +1,7 @@ +2001-09-05 Kai Gro,A_(Bjohann + + * nnmail.el (nnmail-split-fancy): Document `junk'. + 2001-09-04 Simon Josefsson * imap.el (imap-search): Don't error if server is broken. diff --git a/lisp/nnmail.el b/lisp/nnmail.el index 9b30b3b14..788278986 100644 --- a/lisp/nnmail.el +++ b/lisp/nnmail.el @@ -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.