Function: gnus-topic-goto-next-topic

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

Signature

(gnus-topic-goto-next-topic N)

Documentation

Go to the N'th next topic.

Key Bindings

Source Code

;; Defined in /usr/src/emacs/lisp/gnus/gnus-topic.el.gz
(defun gnus-topic-goto-next-topic (n)
  "Go to the N'th next topic."
  (interactive "p" gnus-topic-mode)
  (let ((backward (< n 0))
	(n (abs n))
	(topic (gnus-current-topic)))
    (while (and (> n 0)
		(setq topic
		      (if backward
			  (gnus-topic-previous-topic topic)
			(gnus-topic-next-topic topic))))
      (gnus-topic-goto-topic topic)
      (setq n (1- n)))
    (when (/= 0 n)
      (gnus-message 7 "No more topics"))
    n))