[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
master e0244f58042: ; * lisp/progmodes/project.el (project-current): Doc
|
From: |
Eli Zaretskii |
|
Subject: |
master e0244f58042: ; * lisp/progmodes/project.el (project-current): Doc fix. |
|
Date: |
Thu, 13 Jul 2023 02:15:10 -0400 (EDT) |
branch: master
commit e0244f58042740c8fe914e7abe5b02611b176bc2
Author: Eshel Yaron <me@eshelyaron.com>
Commit: Eli Zaretskii <eliz@gnu.org>
; * 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'. (Bug#64266)
---
lisp/progmodes/project.el | 6 ++++--
1 file changed, 4 insertions(+), 2 deletions(-)
diff --git a/lisp/progmodes/project.el b/lisp/progmodes/project.el
index 1d5a5fa5c63..03ed966cc45 100644
--- a/lisp/progmodes/project.el
+++ b/lisp/progmodes/project.el
@@ -219,8 +219,10 @@ Called with no arguments and should return a project root
dir."
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\"
+else prompt the user for the project to use. To prompt for a
+project, call the function specified by `project-prompter', which
+returns the directory in which to look for the project. If no
+project is found in that directory, return a \"transient\"
project instance.
The \"transient\" project instance is a special kind of value
| [Prev in Thread] |
Current Thread |
[Next in Thread] |
- master e0244f58042: ; * lisp/progmodes/project.el (project-current): Doc fix.,
Eli Zaretskii <=