Function: consult--default-project-function
consult--default-project-function is a byte-compiled function defined
in consult.el.
Signature
(consult--default-project-function MAY-PROMPT)
Documentation
Return project root directory.
When no project is found and MAY-PROMPT is non-nil ask the user.
Source Code
;; Defined in ~/.emacs.d/elpa/consult-20260805.1130/consult.el
(defun consult--default-project-function (may-prompt)
"Return project root directory.
When no project is found and MAY-PROMPT is non-nil ask the user."
(declare-function project-root "project")
(when-let* ((proj (project-current may-prompt)))
(project-root proj)))