Rename project-remove-known-project to project-forget-project

* 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).
This commit is contained in:
Dmitry Gutov 2021-09-21 16:07:39 +03:00
parent 14495e33af
commit e1712bdb35
4 changed files with 6 additions and 6 deletions

View file

@ -1866,14 +1866,14 @@ records the list of known projects. It defaults to the file
@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.

View file

@ -2397,7 +2397,7 @@ project's root directory, respectively.
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'.

View file

@ -26590,7 +26590,7 @@ Save the result in `project-list-file' if the list of projects has changed.
\(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.

View file

@ -1315,7 +1315,7 @@ passed to `message' as its first argument."
(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."