Function: gnus-agent-remove-group

gnus-agent-remove-group is an interactive and byte-compiled function defined in gnus-agent.el.gz.

Signature

(gnus-agent-remove-group ARG)

Documentation

Remove the current group from its agent category, if any.

Key Bindings

Source Code

;; Defined in /usr/src/emacs/lisp/gnus/gnus-agent.el.gz
(defun gnus-agent-remove-group (arg)
  "Remove the current group from its agent category, if any."
  (interactive "P")
  (let (c)
    (gnus-group-iterate arg
      (lambda (group)
	(when (gnus-agent-cat-groups (setq c (gnus-group-category group)))
	  (setf (gnus-agent-cat-groups c)
                (delete group (gnus-agent-cat-groups c))))))
    (gnus-category-write)))