Function: treemacs-button-start

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

Signature

(treemacs-button-start BUTTON)

Documentation

Return the start position of BUTTON.

Same as button-start, 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-start (button)
  "Return the start position of BUTTON.
Same as `button-start', but faster since it's inlined and does not query the
button type on every call."
  (declare (side-effect-free t))
  (inline-letevals (button)
    (inline-quote
     (or (previous-single-property-change (1+ ,button) 'button)
         (point-min)))))