Function: eca-chat--make-copy-scope

eca-chat--make-copy-scope is a natively compiled function defined in eca-chat.el.

Signature

(eca-chat--make-copy-scope START END KIND PROP &rest EXTRA-PROPS)

Documentation

Create an invisible copy scope overlay from START to END.

KIND is the copied content kind. PROP marks the overlay type. EXTRA-PROPS are additional overlay properties.

Source Code

;; Defined in /nix/store/jklqzw6pzz6j4jrbv8wy0iwgi7jlrbld-emacs-packages-deps/share/emacs/site-lisp/elpa/eca-20260928.1827/eca-chat.el
(defun eca-chat--make-copy-scope (start end kind prop &rest extra-props)
  "Create an invisible copy scope overlay from START to END.
KIND is the copied content kind.  PROP marks the overlay type.
EXTRA-PROPS are additional overlay properties."
  (let ((overlay (make-overlay start end nil nil nil)))
    (overlay-put overlay prop t)
    (overlay-put overlay 'eca-chat--copy-kind kind)
    (while extra-props
      (overlay-put overlay (pop extra-props) (pop extra-props)))
    overlay))