Function: spam-report-plug-agent

spam-report-plug-agent is a byte-compiled function defined in spam-report.el.gz.

Signature

(spam-report-plug-agent)

Documentation

Adjust spam report settings for plugged state.

Process queued spam reports.

Source Code

;; Defined in /usr/src/emacs/lisp/gnus/spam-report.el.gz
(defun spam-report-plug-agent ()
  "Adjust spam report settings for plugged state.
Process queued spam reports."
  ;; Process the queue, unless the user only wanted to report to a file
  ;; anyway.
  (unless (equal spam-report-url-ping-temp-agent-function
		 'spam-report-url-to-file)
    (spam-report-process-queue))
  ;; Set the reporting function, if we have memorized something otherwise,
  ;; stick with plain URL reporting.
  (setq spam-report-url-ping-function
	(or spam-report-url-ping-temp-agent-function
	    'spam-report-url-ping-plain)))