Function: gnus-request-type

gnus-request-type is an autoloaded and byte-compiled function defined in gnus-int.el.gz.

Signature

(gnus-request-type GROUP &optional ARTICLE)

Documentation

Return the type (post or mail) of GROUP (and ARTICLE).

Source Code

;; Defined in /usr/src/emacs/lisp/gnus/gnus-int.el.gz
(defun gnus-request-type (group &optional article)
  "Return the type (`post' or `mail') of GROUP (and ARTICLE)."
  (let ((gnus-command-method (gnus-find-method-for-group group)))
    (if (not (gnus-check-backend-function
	      'request-type (car gnus-command-method)))
	'unknown
      (funcall (gnus-get-function gnus-command-method 'request-type)
	       (gnus-group-real-name group) article))))