Function: eca-chat-compose-yank

eca-chat-compose-yank is an interactive and natively compiled function defined in eca-chat-compose.el.

Signature

(eca-chat-compose-yank)

Documentation

Yank into the compose buffer, routing images through yank-media.

A clipboard image is saved to a temporary file and inserted as an
@file mention; anything else falls back to a plain yank.

Key Bindings

eca-chat-compose-mode-map <paste> eca-chat-compose-mode-map C-y eca-chat-compose-mode-map S-<insert> eca-chat-compose-mode-map S-<insertchar>

Source Code

;; Defined in /nix/store/jklqzw6pzz6j4jrbv8wy0iwgi7jlrbld-emacs-packages-deps/share/emacs/site-lisp/elpa/eca-20260928.1827/eca-chat-compose.el
(defun eca-chat-compose-yank ()
  "Yank into the compose buffer, routing images through `yank-media'.
A clipboard image is saved to a temporary file and inserted as an
@file mention; anything else falls back to a plain `yank'."
  (interactive)
  (if (and (fboundp 'yank-media)
           (boundp 'yank-media--registered-handlers)
           yank-media--registered-handlers
           (eca-chat--clipboard-image-p))
      (call-interactively #'yank-media)
    (call-interactively #'yank)))