Function: gnus-server-extend-method
gnus-server-extend-method is a byte-compiled function defined in
gnus.el.gz.
Signature
(gnus-server-extend-method GROUP METHOD)
Source Code
;; Defined in /usr/src/emacs/lisp/gnus/gnus.el.gz
(defun gnus-server-extend-method (group method)
;; This function "extends" a virtual server. If the server is
;; "hello", and the select method is ("hello" (my-var "something"))
;; in the group "alt.alt", this will result in a new virtual server
;; called "hello+alt.alt".
(if (or (not (inline (gnus-similar-server-opened method)))
(not (cddr method)))
method
(let ((address-slot
(intern (format "%s-address" (car method)))))
(setq method
(if (assq address-slot (cddr method))
`(,(car method) ,(concat (cadr method) "+" group)
,@(cddr method))
`(,(car method) ,(concat (cadr method) "+" group)
(,address-slot ,(cadr method))
,@(cddr method))))
(push method gnus-extended-servers)
method)))