Function: org-gnus-group-link
org-gnus-group-link is a byte-compiled function defined in
ol-gnus.el.gz.
Signature
(org-gnus-group-link GROUP)
Documentation
Create a link to the Gnus group GROUP.
If GROUP is a newsgroup and org-gnus-prefer-web-links is
non-nil, create a link to groups.google.com. Otherwise create a
link to the group inside Gnus.
If org-store-link was called with a prefix arg the meaning of
org-gnus-prefer-web-links is reversed.
Source Code
;; Defined in /usr/src/emacs/lisp/org/ol-gnus.el.gz
;;; Implementation
(defun org-gnus-group-link (group)
"Create a link to the Gnus group GROUP.
If GROUP is a newsgroup and `org-gnus-prefer-web-links' is
non-nil, create a link to groups.google.com. Otherwise create a
link to the group inside Gnus.
If `org-store-link' was called with a prefix arg the meaning of
`org-gnus-prefer-web-links' is reversed."
(let ((unprefixed-group (replace-regexp-in-string "^[^:]+:" "" group)))
(if (and (string-prefix-p "nntp" group) ;; Only for nntp groups
(org-xor current-prefix-arg
org-gnus-prefer-web-links))
(concat "https://groups.google.com/group/" unprefixed-group)
(concat "gnus:" group))))