Function: avl-tree-copy
avl-tree-copy is a byte-compiled function defined in avl-tree.el.gz.
Signature
(avl-tree-copy TREE)
Documentation
Return a copy of the AVL TREE.
Source Code
;; Defined in /usr/src/emacs/lisp/emacs-lisp/avl-tree.el.gz
(defun avl-tree-copy (tree)
"Return a copy of the AVL TREE."
(let ((new-tree (avl-tree-create (avl-tree--cmpfun tree))))
(setf (avl-tree--root new-tree) (avl-tree--do-copy (avl-tree--root tree)))
new-tree))