Function: treemacs--get-label-of

treemacs--get-label-of is a byte-compiled function defined in treemacs-core-utils.el.

Signature

(treemacs--get-label-of BTN)

Documentation

Return the text label of BTN.

Source Code

;; Defined in ~/.emacs.d/elpa/treemacs-20251226.1307/treemacs-core-utils.el
(define-inline treemacs--get-label-of (btn)
  "Return the text label of BTN."
  (declare (side-effect-free t))
  (inline-quote
   (buffer-substring-no-properties (treemacs-button-start ,btn) (treemacs-button-end ,btn))))