Function: treemacs-button-get

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

Signature

(treemacs-button-get BUTTON PROP)

Documentation

Get the property of button BUTTON named PROP.

Same as button-get, but faster since it's inlined and does not query the button type on every call.

Source Code

;; Defined in ~/.emacs.d/elpa/treemacs-20251226.1307/treemacs-core-utils.el
(define-inline treemacs-button-get (button prop)
  "Get the property of button BUTTON named PROP.
Same as `button-get', but faster since it's inlined and does not query the
button type on every call."
  (declare (side-effect-free t))
  (inline-letevals (button prop)
    (inline-quote
     (get-text-property ,button ,prop))))