Function: newsticker-treeview-next-feed
newsticker-treeview-next-feed is an interactive and byte-compiled
function defined in newst-treeview.el.gz.
Signature
(newsticker-treeview-next-feed &optional STAY-IN-TREE)
Documentation
Move to next feed.
Optional argument STAY-IN-TREE prevents moving from real feed tree to virtual feed tree or vice versa. Return t if a new feed was activated, nil otherwise.
Key Bindings
Source Code
;; Defined in /usr/src/emacs/lisp/net/newst-treeview.el.gz
(defun newsticker-treeview-next-feed (&optional stay-in-tree)
"Move to next feed.
Optional argument STAY-IN-TREE prevents moving from real feed
tree to virtual feed tree or vice versa.
Return t if a new feed was activated, nil otherwise."
(interactive)
(newsticker--treeview-restore-layout)
(let ((cur (newsticker--treeview-get-current-node))
(new nil))
(setq new
(if cur
(or (newsticker--treeview-get-next-sibling cur)
(newsticker--treeview-get-next-uncle cur)
(and (not stay-in-tree)
(newsticker--treeview-get-other-tree)))
(car (widget-get newsticker--treeview-feed-tree :children))))
(if new
(progn
(newsticker--treeview-activate-node new)
(newsticker--treeview-tree-update-highlight)
(not (eq new cur)))
nil)))