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
("/root/.emacs.d/elpa/consult-20260805.1130/consult.elc"
. 182065)]
:items consult--project-known-roots)
Documentation
Known project root source.
Source Code
;; Defined in ~/.emacs.d/elpa/consult-20260805.1130/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.")