Function: spam-stat-unload-function

spam-stat-unload-function is an interactive and byte-compiled function defined in spam-stat.el.gz.

Signature

(spam-stat-unload-function)

Documentation

Uninstall the spam-stat function hooks.

Key Bindings

Aliases

spam-stat-unload-hook (obsolete since 31.1)

Source Code

;; Defined in /usr/src/emacs/lisp/gnus/spam-stat.el.gz
(defun spam-stat-unload-function ()
  "Uninstall the spam-stat function hooks."
  (interactive)
  (remove-hook 'nnmail-prepare-incoming-message-hook
	       #'spam-stat-store-current-buffer)
  (remove-hook 'gnus-select-article-hook
	       #'spam-stat-store-gnus-article-buffer)
  nil)