Function: cider-xref-source
cider-xref-source is a 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.
Source Code
;; Defined in ~/.emacs.d/elpa/cider-20260822.1520/cider-xref.el
(defun cider-xref-source (file-url line name)
"Find source for FILE-URL, LINE and NAME."
(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)))