Function: org-list-get-children

org-list-get-children is a byte-compiled function defined in org-list.el.gz.

Signature

(org-list-get-children ITEM STRUCT PARENTS)

Documentation

List all children of ITEM, or nil.

STRUCT is the list structure. PARENTS is the alist of parents, as returned by org-list-parents-alist.

Source Code

;; Defined in /usr/src/emacs/lisp/org/org-list.el.gz
(defun org-list-get-children (item _struct parents)
  "List all children of ITEM, or nil.
STRUCT is the list structure.  PARENTS is the alist of parents,
as returned by `org-list-parents-alist'."
  (let (all child)
    (while (setq child (car (rassq item parents)))
      (setq parents (cdr (member (assq child parents) parents)))
      (push child all))
    (nreverse all)))