emacs-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

master e1712bd: Rename project-remove-known-project to project-forget-pr


From: Dmitry Gutov
Subject: master e1712bd: Rename project-remove-known-project to project-forget-project
Date: Tue, 21 Sep 2021 09:14:49 -0400 (EDT)

branch: master
commit e1712bdb353914f621a956ffeb72c53f34e007f7
Author: Dmitry Gutov <dgutov@yandex.ru>
Commit: Dmitry Gutov <dgutov@yandex.ru>

    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).
---
 doc/emacs/maintaining.texi | 6 +++---
 etc/NEWS                   | 2 +-
 lisp/ldefs-boot.el         | 2 +-
 lisp/progmodes/project.el  | 2 +-
 4 files changed, 6 insertions(+), 6 deletions(-)

diff --git a/doc/emacs/maintaining.texi b/doc/emacs/maintaining.texi
index f98e7b1..7e8b0e5 100644
--- a/doc/emacs/maintaining.texi
+++ b/doc/emacs/maintaining.texi
@@ -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.
 
diff --git a/etc/NEWS b/etc/NEWS
index d241f86..e8196d2 100644
--- 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'.
 
diff --git a/lisp/ldefs-boot.el b/lisp/ldefs-boot.el
index 9cd5c9b..0ab9552 100644
--- a/lisp/ldefs-boot.el
+++ b/lisp/ldefs-boot.el
@@ -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.
diff --git a/lisp/progmodes/project.el b/lisp/progmodes/project.el
index f1437c6..ebd21d4 100644
--- a/lisp/progmodes/project.el
+++ b/lisp/progmodes/project.el
@@ -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."



reply via email to

[Prev in Thread] Current Thread [Next in Thread]