Function: cider-load-buffer-and-switch-to-repl-buffer

cider-load-buffer-and-switch-to-repl-buffer is an interactive and byte-compiled function defined in cider-mode.el.

Signature

(cider-load-buffer-and-switch-to-repl-buffer &optional SET-NAMESPACE)

Documentation

Load the current buffer into the matching REPL buffer and switch to it.

When SET-NAMESPACE is true, we'll also set the REPL's ns to match that of the Clojure buffer.

Key Bindings

Source Code

;; Defined in ~/.emacs.d/elpa/cider-20260414.1619/cider-mode.el
(defun cider-load-buffer-and-switch-to-repl-buffer (&optional set-namespace)
  "Load the current buffer into the matching REPL buffer and switch to it.
When SET-NAMESPACE is true, we'll also set the REPL's ns to match that of the
Clojure buffer."
  (interactive "P")
  (cider-load-buffer)
  (cider-switch-to-repl-buffer set-namespace))