Function: cider--var-choice
cider--var-choice is a byte-compiled function defined in
cider-client.el.
Signature
(cider--var-choice VAR-INFO)
Documentation
Prompt to choose from among multiple VAR-INFO candidates, if required.
This is needed only when the symbol queried is an unqualified host platform
method, and multiple classes have a so-named member. If VAR-INFO does not
contain a candidates key, it is returned as is.
Source Code
;; Defined in ~/.emacs.d/elpa/cider-20260414.1619/cider-client.el
(defun cider--var-choice (var-info)
"Prompt to choose from among multiple VAR-INFO candidates, if required.
This is needed only when the symbol queried is an unqualified host platform
method, and multiple classes have a so-named member. If VAR-INFO does not
contain a `candidates' key, it is returned as is."
(let ((candidates (nrepl-dict-get var-info "candidates")))
(if candidates
(let* ((classes (nrepl-dict-keys candidates))
(choice (cider-class-choice-completing-read "Member in class: " classes))
(info (nrepl-dict-get candidates choice)))
info)
var-info)))