Function: eca-chat--smallest-copy-scope
eca-chat--smallest-copy-scope is a natively compiled function defined
in eca-chat.el.
Signature
(eca-chat--smallest-copy-scope PROP)
Documentation
Return smallest copy scope at point marked by PROP.
Source Code
;; Defined in /nix/store/jklqzw6pzz6j4jrbv8wy0iwgi7jlrbld-emacs-packages-deps/share/emacs/site-lisp/elpa/eca-20260928.1827/eca-chat.el
(defun eca-chat--smallest-copy-scope (prop)
"Return smallest copy scope at point marked by PROP."
(car (sort (seq-filter (lambda (overlay) (overlay-get overlay prop))
(overlays-at (point)))
(lambda (left right)
(< (- (overlay-end left) (overlay-start left))
(- (overlay-end right) (overlay-start right)))))))