(Filtering Spam Using The Spam ELisp Package):
[gnus] / texi / gnus.texi
index afb51a6..deb0707 100644 (file)
@@ -22304,25 +22304,15 @@ filters incoming mail, and it analyzes mail known to be spam or ham.
 @dfn{Ham} is the name used throughout @file{spam.el} to indicate
 non-spam messages.
 
-So, what happens when you load @file{spam.el}?  
-
-First of all, you @strong{must} set the variable
-@code{spam-install-hooks} to @code{t} and install the @code{spam.el} hooks:
+First of all, you @strong{must} run the function
+@code{spam-initialize} to autoload @code{spam.el} and to install the
+@code{spam.el} hooks:
 
 @example
-(setq spam-install-hooks t)
-(spam-install-hooks-function)
+(spam-initialize)
 @end example
 
-This is automatically done for you if you load @code{spam.el}
-@emph{after} one of the @code{spam-use-*} variables explained later
-are set.  So you should load @code{spam.el} after you set one of the
-@code{spam-use-*} variables:
-
-@example
-(setq spam-use-bogofilter t)
-(require 'spam)
-@end example
+So, what happens when you load @file{spam.el}?  
 
 You get the following keyboard commands: