Function: cider-doc--read-apropos-ns

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

Signature

(cider-doc--read-apropos-ns PROMPT INITIAL-INPUT HISTORY)

Documentation

Read a namespace to limit an apropos search to.

PROMPT, INITIAL-INPUT and HISTORY are passed to completing-read.

Source Code

;; Defined in ~/.emacs.d/elpa/cider-20260822.1520/cider-doc.el
(defun cider-doc--read-apropos-ns (prompt initial-input history)
  "Read a namespace to limit an apropos search to.
PROMPT, INITIAL-INPUT and HISTORY are passed to `completing-read'."
  (let ((ns (completing-read (or prompt "Namespace (default is all): ")
                             (cider-sync-request:ns-list)
                             nil nil initial-input history)))
    (unless (string-empty-p ns) ns)))