Function: eca-chat--image-link-at
eca-chat--image-link-at is a natively compiled function defined in
eca-chat-image.el.
Signature
(eca-chat--image-link-at POS)
Documentation
Return (START END PATH) of the image mention at POS, or nil.
Only the char after POS counts, so a position right after a mention is not on it.
Source Code
;; Defined in /nix/store/jklqzw6pzz6j4jrbv8wy0iwgi7jlrbld-emacs-packages-deps/share/emacs/site-lisp/elpa/eca-20260928.1827/eca-chat-image.el
(defun eca-chat--image-link-at (pos)
"Return (START END PATH) of the image mention at POS, or nil.
Only the char after POS counts, so a position right after a
mention is not on it."
(when-let* ((bounds (eca--property-run-bounds pos 'eca-chat-image-path)))
(list (car bounds) (cdr bounds)
(get-text-property pos 'eca-chat-image-path))))