Function: cider-eval-last-sexp-in-context

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

Signature

(cider-eval-last-sexp-in-context GUESS)

Documentation

Evaluate the preceding sexp 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

Source Code

;; Defined in ~/.emacs.d/elpa/cider-20260414.1619/cider-eval.el
(defun cider-eval-last-sexp-in-context (guess)
  "Evaluate the preceding sexp 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))