Function: newsticker--treeview-get-next-uncle

newsticker--treeview-get-next-uncle is a byte-compiled function defined in newst-treeview.el.gz.

Signature

(newsticker--treeview-get-next-uncle NODE)

Documentation

Get next uncle of NODE, i.e. parent's next sibling.

Source Code

;; Defined in /usr/src/emacs/lisp/net/newst-treeview.el.gz
(defun newsticker--treeview-get-next-uncle (node)
  "Get next uncle of NODE, i.e. parent's next sibling."
  (let* ((parent (widget-get node :parent))
         (grand-parent (widget-get parent :parent)))
    (catch 'found
      (let ((uncles (widget-get grand-parent :children)))
        (while uncles
          (if (newsticker--treeview-nodes-eq (car uncles) parent)
              (throw 'found (car (cdr uncles))))
          (setq uncles (cdr uncles)))))))