(unless gnus-group-is-exiting-without-update-p
(gnus-message 6 "Exiting summary buffer and applying spam rules")
+ ;; before we begin, remove any article limits
+ (ignore-errors
+ (universal-argument (gnus-summary-pop-limit)))
+
;; first of all, unregister any articles that are no longer ham or spam
;; we have to iterate over the processors, or else we'll be too slow
(dolist (classification (spam-classifications))
(eval-when-compile
(autoload 'bbdb-buffer "bbdb")
(autoload 'bbdb-create-internal "bbdb")
- (autoload 'bbdb-records "bbdb")
(autoload 'bbdb-search-simple "bbdb"))
(eval-and-compile
(require 'bbdb)
(require 'bbdb-com))
(file-error
+ ;; `bbdb-records' should not be bound as an autoload function
+ ;; before loading bbdb because of `bbdb-hashtable-size'.
+ (defalias 'bbdb-records 'ignore)
(defalias 'spam-BBDB-register-routine 'ignore)
(defalias 'spam-enter-ham-BBDB 'ignore)
nil))