Function: treemacs-button-put
treemacs-button-put is a byte-compiled function defined in
treemacs-core-utils.el.
Signature
(treemacs-button-put BUTTON PROP VAL)
Documentation
Set BUTTON's PROP property to VAL.
Same as button-put, 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-put (button prop val)
"Set BUTTON's PROP property to VAL.
Same as `button-put', but faster since it's inlined and does not query the
button type on every call."
(inline-letevals (button prop val)
(inline-quote
(put-text-property
(or (previous-single-property-change (1+ ,button) 'button)
(point-min))
(or (next-single-property-change ,button 'button)
(point-max))
,prop ,val))))