Function: eca-chat--auto-show-image-thumbnails-after-change
eca-chat--auto-show-image-thumbnails-after-change is a natively
compiled function defined in eca-chat-image.el.
Signature
(eca-chat--auto-show-image-thumbnails-after-change BEG END LEN)
Documentation
Show the thumbnails of the image mentions inserted from BEG to END.
Meant for after-change-functions, so image mentions show their
thumbnail however they land: pasted, completed, recalled from the
prompt history, yanked or undone.
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--auto-show-image-thumbnails-after-change (beg end _len)
"Show the thumbnails of the image mentions inserted from BEG to END.
Meant for `after-change-functions', so image mentions show their
thumbnail however they land: pasted, completed, recalled from the
prompt history, yanked or undone."
(when (and (< beg end)
(text-property-not-all beg end 'eca-chat-image-path nil))
(with-demoted-errors "eca-chat image thumbnails: %S"
(eca-chat--auto-show-image-thumbnails beg end))))