Function: projectile--choose-from-candidates

projectile--choose-from-candidates is a byte-compiled function defined in projectile.el.

Signature

(projectile--choose-from-candidates CANDIDATES &key CALLER)

Documentation

Choose one item from CANDIDATES.

Source Code

;; Defined in ~/.emacs.d/elpa/projectile-20260310.858/projectile.el
(defun projectile--choose-from-candidates (candidates &key caller)
  "Choose one item from CANDIDATES."
  (if (= (length candidates) 1)
      (car candidates)
    (projectile-completing-read "Switch to: " candidates :caller caller)))