Function: cider-ns-edit--read-ns

cider-ns-edit--read-ns is a byte-compiled function defined in cider-ns.el.

Signature

(cider-ns-edit--read-ns)

Documentation

Read the name of a namespace to require.

When connected, complete over the namespaces loaded in the REPL.

Source Code

;; Defined in ~/.emacs.d/elpa/cider-20261106.1225/cider-ns.el
(defun cider-ns-edit--read-ns ()
  "Read the name of a namespace to require.
When connected, complete over the namespaces loaded in the REPL."
  (completing-read "Require namespace: "
                   (when (and (cider-connected-p)
                              (cider-nrepl-op-supported-p "cider/ns-list"))
                     (cider-sync-request:ns-list))
                   nil nil nil 'cider-ns-edit--ns-history))