* doc/emacs/maintaining.texi (Managing Projects): Ditto.
* etc/NEWS: Update accordingly.
* lisp/progmodes/project.el (project-forget-project):
Rename from 'project-remove-known-project', for consistency with
'project-remember-project' (discussed in bug#50297).
@subsection Managing the Project List File
@table @kbd
-@item M-x project-remove-known-project
+@item M-x project-forget-project
Remove a known project from the @code{project-list-file}.
@end table
-@findex project-remove-known-project
+@findex project-forget-project
Normally Emacs automatically adds and removes projects to and from the
@code{project-list-file}, but sometimes you may want to manually edit
-the available projects. @kbd{M-x project-remove-known-project}
+the available projects. @kbd{M-x project-forget-project}
prompts you to choose one of the available projects, and then removes
it from the file.
This specifies the file in which to save the list of known projects.
+++
-*** New command 'project-remove-known-project'.
+*** New command 'project-forget-project'.
This command lets you interactively remove an entry from the list of projects
in 'project-list-file'.
\(fn PR)" nil nil)
-(autoload 'project-remove-known-project "project" "\
+(autoload 'project-forget-project "project" "\
Remove directory PROJECT-ROOT from the project list.
PROJECT-ROOT is the root directory of a known project listed in
the project list.
(project--write-project-list)))
;;;###autoload
-(defun project-remove-known-project (project-root)
+(defun project-forget-project (project-root)
"Remove directory PROJECT-ROOT from the project list.
PROJECT-ROOT is the root directory of a known project listed in
the project list."