Function: treemacs--button-in-line
treemacs--button-in-line is a byte-compiled function defined in
treemacs-rendering.el.
Signature
(treemacs--button-in-line POS)
Documentation
Return the button in the line at POS in the current buffer, or nil.
If the button at POS is a text property button, the return value is a marker pointing to POS.
Source Code
;; Defined in ~/.emacs.d/elpa/treemacs-20251226.1307/treemacs-rendering.el
(define-inline treemacs--button-in-line (pos)
"Return the button in the line at POS in the current buffer, or nil.
If the button at POS is a text property button, the return value
is a marker pointing to POS."
(inline-letevals (pos)
(inline-quote
(save-excursion
(goto-char ,pos)
(copy-marker
(next-single-property-change
(line-beginning-position) 'button nil (line-end-position))
t)))))