Function: cider-apropos--read-args

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

Signature

(cider-apropos--read-args)

Documentation

Read the arguments for cider-apropos and cider-apropos-select.

With a prefix argument, also prompt for the namespace, whether to search doc strings, include private symbols, and be case-sensitive.

Source Code

;; Defined in ~/.emacs.d/elpa/cider-20260822.1520/cider-apropos.el
(defun cider-apropos--read-args ()
  "Read the arguments for `cider-apropos' and `cider-apropos-select'.
With a prefix argument, also prompt for the namespace, whether to search
doc strings, include private symbols, and be case-sensitive."
  (cons (read-string "Search for Clojure symbol (a regular expression): ")
        (when current-prefix-arg
          (list (let ((ns (completing-read "Namespace (default is all): " (cider-sync-request:ns-list))))
                  (if (string= ns "") nil ns))
                (y-or-n-p "Search doc strings? ")
                (y-or-n-p "Include private symbols? ")
                (y-or-n-p "Case-sensitive? ")))))