]> git.eshelyaron.com Git - emacs.git/commitdiff
Rename project-remove-known-project to project-forget-project
authorDmitry Gutov <dgutov@yandex.ru>
Tue, 21 Sep 2021 13:07:39 +0000 (16:07 +0300)
committerDmitry Gutov <dgutov@yandex.ru>
Tue, 21 Sep 2021 13:07:52 +0000 (16:07 +0300)
* 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).

doc/emacs/maintaining.texi
etc/NEWS
lisp/ldefs-boot.el
lisp/progmodes/project.el

index f98e7b1edafe4915bcf78d0b6f14ef117924d885..7e8b0e5914dbbfd61b75b48d09e32fb006603413 100644 (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.
 
index d241f864d354febead5b21ac7dc284c44bfb873a..e8196d277d0a45d1f09ec64e8947c6433c90b40f 100644 (file)
--- a/etc/NEWS
+++ b/etc/NEWS
@@ -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'.
 
index 9cd5c9bfa84d7fd465cbd40e3655d1f4550c7936..0ab9552c60b780550447ed879b6a38f21e7263bf 100644 (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.
index f1437c6a2380ea24350ec063382dde0b6f166ef0..ebd21d4b60257c553ee9949d57e6198ab43b67b5 100644 (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."