Function: hierarchy-roots

hierarchy-roots is a byte-compiled function defined in hierarchy.el.gz.

Signature

(hierarchy-roots HIERARCHY)

Documentation

Return all roots of HIERARCHY.

A root is an item with no parent.

Source Code

;; Defined in /usr/src/emacs/lisp/emacs-lisp/hierarchy.el.gz
(defun hierarchy-roots (hierarchy)
  "Return all roots of HIERARCHY.

A root is an item with no parent."
  (let ((roots (hierarchy--roots hierarchy)))
    (or roots
        (hierarchy--compute-roots hierarchy))))