From eeb6d9d221d99f65c7995d065f9e11b2ef102c6b Mon Sep 17 00:00:00 2001 From: Lars Ingebrigtsen Date: Tue, 14 Sep 2021 13:21:47 +0200 Subject: [PATCH] Project File Commands manual clarification * doc/emacs/maintaining.texi (Project File Commands): Clarify what happens with the file name under point. --- doc/emacs/maintaining.texi | 3 ++- etc/NEWS | 2 ++ 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/doc/emacs/maintaining.texi b/doc/emacs/maintaining.texi index 4ec2b2d72a6..4ee0f32bd5b 100644 --- a/doc/emacs/maintaining.texi +++ b/doc/emacs/maintaining.texi @@ -1735,7 +1735,8 @@ the full file name of the file to visit, you can type only the file's base name (i.e., omit the leading directories). In addition, the completion candidates considered by the command include only the files belonging to the current project, and nothing else. If there's a file -name at point, this command offers that file as the default to visit. +name at point, this command offers that file as the first element of +the ``future history''. @findex project-find-regexp The command @kbd{C-x p g} (@code{project-find-regexp}) is similar to diff --git a/etc/NEWS b/etc/NEWS index d4f4c81f895..bba86984c81 100644 --- a/etc/NEWS +++ b/etc/NEWS @@ -2342,10 +2342,12 @@ This specifies the file in which to save the list of known projects. This command lets you interactively remove an entry from the list of projects in 'project-list-file'. +--- *** 'project-find-file' now accepts non-existent file names. This is to allow easy creation of files inside some nested sub-directory. ++++ *** 'project-find-file' doesn't use the string at point as default input. Now it's only suggested as part of the "future history". -- 2.39.5