>From 8dbf48e71fd68b10478a70ec8453e5e0c61e176d Mon Sep 17 00:00:00 2001 From: Eshel Yaron Date: Sat, 24 Jun 2023 17:16:19 +0300 Subject: [PATCH] ; * lisp/progmodes/project.el (project-current): Doc fix. Avoid saying that 'project-current' asks specifically for a directory, as it can also ask for a project's directory by other identifiers, such as the project's name, when 'project-prompter' is set to a different value than the default 'project-prompt-project-dir'. --- lisp/progmodes/project.el | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/lisp/progmodes/project.el b/lisp/progmodes/project.el index 56c524bcab5..5e8628bbd0e 100644 --- a/lisp/progmodes/project.el +++ b/lisp/progmodes/project.el @@ -219,9 +219,9 @@ project-current When no project is found in that directory, the result depends on the value of MAYBE-PROMPT: if it is nil or omitted, return nil, -else ask the user for a directory in which to look for the -project, and if no project is found there, return a \"transient\" -project instance. +else call the function specified by `project-prompter' to prompt +the user for a project's directory, and if no project is found +there, return a \"transient\" project instance. The \"transient\" project instance is a special kind of value which denotes a project rooted in that directory and includes all -- 2.41.0