Function: cider-switch-to-repl-buffer

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

Signature

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

Documentation

Switch to current REPL buffer, when possible in an existing window.

The type of the REPL is inferred from the mode of current buffer. With a prefix arg SET-NAMESPACE sets the namespace in the REPL buffer to that of the namespace in the Clojure source buffer

Key Bindings

Source Code

;; Defined in ~/.emacs.d/elpa/cider-20260414.1619/cider-mode.el
(defun cider-switch-to-repl-buffer (&optional set-namespace)
  "Switch to current REPL buffer, when possible in an existing window.
The type of the REPL is inferred from the mode of current buffer.  With a
prefix arg SET-NAMESPACE sets the namespace in the REPL buffer to that of
the namespace in the Clojure source buffer"
  (interactive "P")
  (cider--switch-to-repl-buffer
   (cider-current-repl 'infer 'ensure)
   set-namespace))