Function: cider-eval-form-in-context

cider-eval-form-in-context is an interactive and byte-compiled function defined in cider-eval.el.

Signature

(cider-eval-form-in-context GUESS)

Documentation

Evaluate the form point indicates in user-supplied context.

The context is just a let binding vector (without the brackets). The context is remembered between command invocations.

When GUESS is non-nil, or called interactively with C-u (universal-argument), attempt to extract the context from parent let-bindings.

Key Bindings

Aliases

cider-eval-sexp-at-point-in-context (obsolete since 2.1.0) cider-eval-last-sexp-in-context (obsolete since 2.1.0)

Source Code

;; Defined in ~/.emacs.d/elpa/cider-20260822.1520/cider-eval.el
(defun cider-eval-form-in-context (guess)
  "Evaluate the form point indicates in user-supplied context.
The context is just a let binding vector (without the brackets).
The context is remembered between command invocations.

When GUESS is non-nil, or called interactively with \\[universal-argument],
attempt to extract the context from parent let-bindings."
  (interactive "P")
  (cider--eval-in-context (cider-last-sexp 'bounds) guess))