Function: gnus-topic-edit-parameters

gnus-topic-edit-parameters is an interactive and byte-compiled function defined in gnus-topic.el.gz.

Signature

(gnus-topic-edit-parameters GROUP)

Documentation

Edit the group parameters of GROUP.

If performed on a topic, edit the topic parameters instead.

Key Bindings

Source Code

;; Defined in /usr/src/emacs/lisp/gnus/gnus-topic.el.gz
;;; Topic sorting functions

(defun gnus-topic-edit-parameters (group)
  "Edit the group parameters of GROUP.
If performed on a topic, edit the topic parameters instead."
  (interactive (list (gnus-group-group-name)) gnus-topic-mode)
  (if group
      (gnus-group-edit-group-parameters group)
    (if (not (gnus-group-topic-p))
	(error "Nothing to edit on the current line")
      (let ((topic (gnus-group-topic-name)))
	(gnus-edit-form
	 (gnus-topic-parameters topic)
	 (format-message "Editing the topic parameters for `%s'."
			 (or group topic))
	 (lambda (form)
	   (gnus-topic-set-parameters topic form)))))))