Function: hierarchy--compute-roots

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

Signature

(hierarchy--compute-roots HIERARCHY)

Documentation

Search roots of HIERARCHY and return them.

Source Code

;; Defined in /usr/src/emacs/lisp/emacs-lisp/hierarchy.el.gz
(defun hierarchy--compute-roots (hierarchy)
  "Search roots of HIERARCHY and return them."
  (cl-set-difference
   (map-keys (hierarchy--seen-items hierarchy))
   (map-keys (hierarchy--parents hierarchy))
   :test #'equal))