Function: eca-chat--mark-response-copy-break

eca-chat--mark-response-copy-break is a natively compiled function defined in eca-chat.el.

Signature

(eca-chat--mark-response-copy-break TYPE PARENT-TOOL-CALL-ID)

Documentation

Mark TYPE as a top-level break for response copy scope.

PARENT-TOOL-CALL-ID means content belongs to a tool block.

Source Code

;; Defined in /nix/store/jklqzw6pzz6j4jrbv8wy0iwgi7jlrbld-emacs-packages-deps/share/emacs/site-lisp/elpa/eca-20260928.1827/eca-chat.el
(defun eca-chat--mark-response-copy-break (type parent-tool-call-id)
  "Mark TYPE as a top-level break for response copy scope.
PARENT-TOOL-CALL-ID means content belongs to a tool block."
  (when (and (not parent-tool-call-id)
             (eca-chat--response-copy-break-content-p type))
    (setq-local eca-chat--last-response-copy-start nil)
    (setq-local eca-chat--last-response-copy-kind 'break)))