Function: cider-toggle-form-targeting
cider-toggle-form-targeting is an interactive and byte-compiled
function defined in cider-eval.el.
Signature
(cider-toggle-form-targeting)
Documentation
Toggle cider-form-targeting between preceding and smart.
The change applies to the rest of the session; use customize (or
setopt in your init file) to make it permanent.
Key Bindings
Source Code
;; Defined in ~/.emacs.d/elpa/cider-20260822.1520/cider-eval.el
(defun cider-toggle-form-targeting ()
"Toggle `cider-form-targeting' between `preceding' and `smart'.
The change applies to the rest of the session; use `customize' (or
`setopt' in your init file) to make it permanent."
(interactive)
(setq cider-form-targeting
(if (eq cider-form-targeting 'smart) 'preceding 'smart))
(message "Form targeting is now `%s' (session-wide; customize `cider-form-targeting' to persist)"
cider-form-targeting))