+2002-10-08 Kai Gro\e,A_\e(Bjohann <Kai.Grossjohann@CS.Uni-Dortmund.DE>
+
+ * gnus-agent.el (gnus-agent-fetch-selected-article): Bind
+ gnus-agent-current-history.
+
2002-10-06 Simon Josefsson <jas@extundo.com>
* imap.el (imap-parse-status): Don't use read to read token.
`gnus-mark-article-hook'."
(let ((gnus-command-method gnus-current-select-method))
(when (and gnus-plugged (gnus-agent-method-p gnus-command-method))
- (gnus-agent-fetch-articles
- gnus-newsgroup-name
- (list gnus-current-article)))))
+ (let ((gnus-agent-current-history
+ (gnus-agent-history-buffer)))
+ (gnus-agent-fetch-articles
+ gnus-newsgroup-name
+ (list gnus-current-article))))))
;;;
;;; Internal functions
(require 'dns)
(require 'message)
+;; BBDB autoloads
+(autoload 'bbdb-search "bbdb-com")
+(autoload 'bbdb-records "bbdb-com")
+
;;; Main parameters.
(defvar spam-use-blacklist t
(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")))