Function: eca-editor--xref-items->locations
eca-editor--xref-items->locations is a natively compiled function
defined in eca-editor.el.
Signature
(eca-editor--xref-items->locations ITEMS)
Documentation
Convert xref ITEMS into a vector of eca locations.
Source Code
;; Defined in /nix/store/jklqzw6pzz6j4jrbv8wy0iwgi7jlrbld-emacs-packages-deps/share/emacs/site-lisp/elpa/eca-20260928.1827/eca-editor.el
(defun eca-editor--xref-items->locations (items)
"Convert xref ITEMS into a vector of eca locations."
(let ((enable-local-variables :safe)
(large-file-warning-threshold nil))
(vconcat
(delq nil
(mapcar (lambda (item)
;; Resolving a location marker may visit the target
;; file and can fail e.g. for stale results pointing
;; at deleted files; drop those locations.
(condition-case nil
(eca-editor--xref-marker->location
(xref-location-marker (xref-item-location item)))
(error nil)))
items)))))