Function: gnus-topic-show-topic

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

Signature

(gnus-topic-show-topic &optional PERMANENT)

Documentation

Show the hidden topic.

If PERMANENT, make it stay shown in subsequent sessions as well.

Key Bindings

Source Code

;; Defined in /usr/src/emacs/lisp/gnus/gnus-topic.el.gz
(defun gnus-topic-show-topic (&optional permanent)
  "Show the hidden topic.
If PERMANENT, make it stay shown in subsequent sessions as well."
  (interactive "P" gnus-topic-mode)
  (when (gnus-group-topic-p)
    (if (not permanent)
	(gnus-topic-remove-topic t nil)
      (let ((topic
	     (gnus-topic-find-topology
	      (gnus-completing-read "Show topic"
                                    (mapcar #'car gnus-topic-alist) t))))
	(setcar (cddr (cadr topic)) nil)
	(setcar (cdr (cadr topic)) 'visible)
	(gnus-group-list-groups)))))