Function: combobulate--split-node-types

combobulate--split-node-types is a natively compiled function defined in combobulate-navigation.el.

Signature

(combobulate--split-node-types NODE-TYPES)

Documentation

Split NODE-TYPES into two lists: one of consp nodes and one without.

Source Code

;; Defined in /nix/store/b5fvrwzi3zvkabyzx0in6gw1cj963z46-emacs-packages-deps/share/emacs/site-lisp/combobulate-navigation.el
(defun combobulate--split-node-types (node-types)
  "Split NODE-TYPES into two lists: one of consp nodes and one without."
  (let ((hierarchical-node-types)
        (flat-node-types))
    (dolist (node-type node-types)
      (if (consp node-type)
          (push node-type hierarchical-node-types)
        (push node-type flat-node-types)))
    (list hierarchical-node-types flat-node-types)))