Function: hierarchy-labelfn-to-string

hierarchy-labelfn-to-string is a byte-compiled function defined in hierarchy.el.gz.

Signature

(hierarchy-labelfn-to-string LABELFN ITEM INDENT)

Documentation

Execute LABELFN on ITEM and INDENT. Return result as a string.

Source Code

;; Defined in /usr/src/emacs/lisp/emacs-lisp/hierarchy.el.gz
(defun hierarchy-labelfn-to-string (labelfn item indent)
  "Execute LABELFN on ITEM and INDENT.  Return result as a string."
  (with-temp-buffer
    (funcall labelfn item indent)
    (buffer-substring (point-min) (point-max))))