Function: gnus-group-kill-region
gnus-group-kill-region is an interactive and byte-compiled function
defined in gnus-group.el.gz.
Signature
(gnus-group-kill-region BEGIN END)
Documentation
Kill newsgroups in current region (excluding current point).
The killed newsgroups can be yanked by using M-x gnus-group-yank-group (gnus-group-yank-group).
Key Bindings
Source Code
;; Defined in /usr/src/emacs/lisp/gnus/gnus-group.el.gz
(defun gnus-group-kill-region (begin end)
"Kill newsgroups in current region (excluding current point).
The killed newsgroups can be yanked by using \\[gnus-group-yank-group]."
(interactive "r" gnus-group-mode)
(let ((lines
;; Count lines.
(save-excursion
(count-lines
(progn
(goto-char begin)
(point-at-bol))
(progn
(goto-char end)
(point-at-bol))))))
(goto-char begin)
(beginning-of-line) ;Important when LINES < 1
(gnus-group-kill-group lines)))