Function: treemacs-button-end

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

Signature

(treemacs-button-end BUTTON)

Documentation

Return the end position of BUTTON.

Same as button-end, 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-end (button)
  "Return the end position of BUTTON.
Same as `button-end', 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 (next-single-property-change ,button 'button)
         (point-max)))))