Function: hierarchy-to-string
hierarchy-to-string is a byte-compiled function defined in
hierarchy.el.gz.
Signature
(hierarchy-to-string HIERARCHY &optional TO-STRING)
Documentation
Return a string representing HIERARCHY.
TO-STRING is passed unchanged to hierarchy-print.
Source Code
;; Defined in /usr/src/emacs/lisp/emacs-lisp/hierarchy.el.gz
(defun hierarchy-to-string (hierarchy &optional to-string)
"Return a string representing HIERARCHY.
TO-STRING is passed unchanged to `hierarchy-print'."
(with-temp-buffer
(hierarchy-print hierarchy to-string)
(buffer-substring (point-min) (point-max))))