Variable: consult-source-project-root
consult-source-project-root is a variable defined in consult.el.
Value
(:name "Project Root" :narrow 114 :category file :face consult-file
:history file-name-history :action
#[257 "\211\301\302!)\207"
[default-directory call-interactively find-file] 3
"\n\n(fn ROOT)"]
:items consult--project-known-roots)
Documentation
Known project root source.
Source Code
;; Defined in /nix/store/6higv2v1wk916v4ynnybyrdkfy2gq44d-emacs-packages-deps/share/emacs/site-lisp/elpa/consult-20261004.957/consult.el
(defvar consult-source-project-root
`( :name "Project Root"
:narrow ?r
:category file
:face consult-file
:history file-name-history
:action ,(lambda (root)
(let ((default-directory root))
(call-interactively #'find-file)))
:items ,#'consult--project-known-roots)
"Known project root source.")