Function: cider-xref-source
cider-xref-source is an interactive and byte-compiled function defined
in cider-xref.el.
Signature
(cider-xref-source FILE-URL LINE NAME)
Documentation
Find source for FILE-URL, LINE and NAME.
Key Bindings
Source Code
;; Defined in ~/.emacs.d/elpa/cider-20260414.1619/cider-xref.el
(defun cider-xref-source (file-url line name)
"Find source for FILE-URL, LINE and NAME."
(interactive)
(if file-url
(if-let* ((buffer (and (not (cider--tooling-file-p file-url))
(cider-find-file file-url))))
(cider-jump-to buffer (if line
(cons line nil)
name)
nil)
(user-error
(substitute-command-keys
"Can't find the source because it wasn't defined with `cider-eval-buffer'")))
(error "No source location for %s" name)))