Function: gnus-agent-insert-meta-information

gnus-agent-insert-meta-information is a byte-compiled function defined in gnus-agent.el.gz.

Signature

(gnus-agent-insert-meta-information TYPE &optional METHOD)

Documentation

Insert meta-information into the message that says how it's to be posted.

TYPE can be either mail or news. If the latter, then METHOD can be a select method.

Source Code

;; Defined in /usr/src/emacs/lisp/gnus/gnus-agent.el.gz
(defun gnus-agent-insert-meta-information (type &optional method)
  "Insert meta-information into the message that says how it's to be posted.
TYPE can be either `mail' or `news'.  If the latter, then METHOD can
be a select method."
  (save-excursion
    (message-remove-header gnus-agent-meta-information-header)
    (goto-char (point-min))
    (insert gnus-agent-meta-information-header ": "
	    (symbol-name type) " " (format "%S" method)
	    "\n")
    (forward-char -1)
    (while (search-backward "\n" nil t)
      (replace-match "\\n" t t))))