Function: gnus-topic-forward-topic
gnus-topic-forward-topic is a byte-compiled function defined in
gnus-topic.el.gz.
Signature
(gnus-topic-forward-topic NUM)
Documentation
Go to the next topic on the same level as the current one.
Source Code
;; Defined in /usr/src/emacs/lisp/gnus/gnus-topic.el.gz
(defun gnus-topic-forward-topic (num)
"Go to the next topic on the same level as the current one."
(let* ((topic (gnus-current-topic))
(way (if (< num 0) 'gnus-topic-previous-topic
'gnus-topic-next-topic))
(num (abs num)))
(while (and (not (zerop num))
(setq topic (funcall way topic)))
(when (gnus-topic-goto-topic topic)
(decf num)))
(unless (zerop num)
(goto-char (point-max)))
num))