Function: treemacs--button-at

treemacs--button-at is a byte-compiled function defined in treemacs-rendering.el.

Signature

(treemacs--button-at POS)

Documentation

Return the button at position 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-at (pos)
  "Return the button at position 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."
  (declare (side-effect-free t))
  (inline-letevals (pos)
    (inline-quote (copy-marker ,pos t))))