Function: cider-find-var

cider-find-var is an autoloaded, interactive and byte-compiled function defined in cider-find.el.

Signature

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

Documentation

Find definition for VAR at LINE.

Prompt according to prefix ARG and cider-prompt-for-symbol. A single or double prefix argument inverts the meaning of cider-prompt-for-symbol. A prefix of `-` or a double prefix argument causes the results to be displayed in a different window. The default value is thing at point.

Key Bindings

Source Code

;; Defined in ~/.emacs.d/elpa/cider-20260414.1619/cider-find.el
;;;###autoload
(defun cider-find-var (&optional arg var line)
  "Find definition for VAR at LINE.
Prompt according to prefix ARG and `cider-prompt-for-symbol'.
A single or double prefix argument inverts the meaning of
`cider-prompt-for-symbol'.  A prefix of `-` or a double prefix argument causes
the results to be displayed in a different window.  The default value is
thing at point."
  (interactive "P")
  (if var
      (cider--find-var var line)
    (funcall (cider-prompt-for-symbol-function arg)
             "Symbol"
             (if (cider--open-other-window-p arg)
                 #'cider--find-var-other-window
               #'cider--find-var))))