Variable: project-prompter

project-prompter is a customizable variable defined in project.el.gz.

Value

project-prompt-project-dir

Documentation

Function to call to prompt for a project.

Called with no arguments and should return a project root dir.

This variable was added, or its default value changed, in Emacs 30.1.

Source Code

;; Defined in /usr/src/emacs/lisp/progmodes/project.el.gz
(defcustom project-prompter #'project-prompt-project-dir
  "Function to call to prompt for a project.
Called with no arguments and should return a project root dir."
  :type '(choice (const :tag "Prompt for a project directory"
                        project-prompt-project-dir)
                 (const :tag "Prompt for a project name"
                        project-prompt-project-name)
                 (function :tag "Custom function" nil))
  :group 'project
  :version "30.1")