BBDB autoload fixes
authorTeodor Zlatanov <tzz@lifelogs.com>
Tue, 8 Oct 2002 15:29:47 +0000 (15:29 +0000)
committerTeodor Zlatanov <tzz@lifelogs.com>
Tue, 8 Oct 2002 15:29:47 +0000 (15:29 +0000)
lisp/spam.el

index 1e6bc45..4dc3098 100644 (file)
 (require 'dns)
 (require 'message)
 
+;; BBDB autoloads
+(autoload 'bbdb-search "bbdb-com")
+(autoload 'bbdb-records "bbdb-com")
+
 ;;; Main parameters.
 
 (defvar spam-use-blacklist t
@@ -261,8 +265,6 @@ The regular expression is matched against the address.")
   (if (spam-from-listed-p spam-whitelist-cache) nil spam-split-group))
 
 ;;; copied from code by Alexander Kotelnikov <sacha@giotto.sj.ru>
-;; FIXME: assumes that bbdb.el is loaded
-;; FIXME: broken right now, if the "from" field can't be retrieved
 (defun spam-check-bbdb ()
   "We want messages from people who are in the BBDB not to be split to spam"
   (let ((who (message-fetch-field "from")))