Function: cider-eval-ns-form

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

Signature

(cider-eval-ns-form &optional UNDEF-ALL)

Documentation

Evaluate the current buffer's namespace form.

When UNDEF-ALL is non-nil, unmap all symbols and aliases first.

Key Bindings

Source Code

;; Defined in ~/.emacs.d/elpa/cider-20260414.1619/cider-eval.el
(defun cider-eval-ns-form (&optional undef-all)
  "Evaluate the current buffer's namespace form.
When UNDEF-ALL is non-nil, unmap all symbols and aliases first."
  (interactive "P")
  (when-let ((ns (cider-get-ns-name)))
    (save-excursion
      (goto-char (match-beginning 0))
      (when undef-all
        (cider-undef-all ns))
      (cider-eval-defun-at-point))))