Function: cider--find-var

cider--find-var is a byte-compiled function defined in cider-find.el.

Signature

(cider--find-var VAR &optional LINE)

Documentation

Find the definition of VAR, optionally at a specific LINE.

Source Code

;; Defined in ~/.emacs.d/elpa/cider-20260414.1619/cider-find.el
(defun cider--find-var (var &optional line)
  "Find the definition of VAR, optionally at a specific LINE."
  (if-let* ((info (cider-var-info var)))
      (progn
        (if line (setq info (nrepl-dict-put info "line" line)))
        (cider--jump-to-loc-from-info info))
    (user-error "Symbol `%s' not resolved" var)))