Function: cider--jump-to-loc-from-info
cider--jump-to-loc-from-info is a byte-compiled function defined in
cider-common.el.
Signature
(cider--jump-to-loc-from-info INFO &optional OTHER-WINDOW)
Documentation
Jump to location give by INFO.
INFO object is returned by cider-var-info or cider-member-info.
OTHER-WINDOW is passed to cider-jump-to.
Source Code
;; Defined in ~/.emacs.d/elpa/cider-20260414.1619/cider-common.el
(defun cider--jump-to-loc-from-info (info &optional other-window)
"Jump to location give by INFO.
INFO object is returned by `cider-var-info' or `cider-member-info'.
OTHER-WINDOW is passed to `cider-jump-to'."
(let* ((line (nrepl-dict-get info "line"))
(file (nrepl-dict-get info "file"))
(name (nrepl-dict-get info "name"))
;; the filename might actually be a REPL buffer name
(buffer (cider--find-buffer-for-file file)))
(if buffer
(cider-jump-to buffer (if line (cons line nil) name) other-window)
(error "No source location"))))