Function: nntp-request-article

nntp-request-article is a byte-compiled function defined in nntp.el.gz.

Signature

(nntp-request-article ARTICLE &optional GROUP SERVER BUFFER COMMAND)

Source Code

;; Defined in /usr/src/emacs/lisp/gnus/nntp.el.gz
(deffoo nntp-request-article (article &optional group server buffer _command)
  (nntp-with-open-group
      group server
    (when (nntp-send-command-and-decode
           "\r?\n\\.\r?\n" "ARTICLE"
           (if (numberp article) (int-to-string article) article))
      (when (and buffer
		 (not (equal buffer nntp-server-buffer)))
	(with-current-buffer nntp-server-buffer
	  (copy-to-buffer buffer (point-min) (point-max))))
      (nntp-find-group-and-number group))))