aboutsummaryrefslogtreecommitdiffstats
path: root/doc
diff options
context:
space:
mode:
authorTheodor Thornhill2021-03-22 00:19:23 +0100
committerDmitry Gutov2021-03-25 01:15:50 +0200
commit275be44dd44de4b7413490ffad912935fe2e1763 (patch)
tree72ffaacaabea1e5c9efd5bac0ec5cba9ff54c829 /doc
parent8e9835c673da09b77f478c769a1579104120a901 (diff)
downloademacs-275be44dd44de4b7413490ffad912935fe2e1763.tar.gz
emacs-275be44dd44de4b7413490ffad912935fe2e1763.zip
Add command project-remove-known-project
* etc/NEWS: Mention the new command. * lisp/progmodes/project.el (project--remove-from-project-list): Add new argument, report-message, used to signal various messages when removal has happened. * lisp/progmodes/project.el (project-remove-known-project): New command that removes the selected directory from the project-list-file. * lisp/progmodes/project.el (project-current): Add the report message. * doc/emacs/maintaining.text: Add information about the new command to the manual.
Diffstat (limited to 'doc')
-rw-r--r--doc/emacs/maintaining.texi16
1 files changed, 16 insertions, 0 deletions
diff --git a/doc/emacs/maintaining.texi b/doc/emacs/maintaining.texi
index 27504188717..7e449a5c25c 100644
--- a/doc/emacs/maintaining.texi
+++ b/doc/emacs/maintaining.texi
@@ -1843,6 +1843,22 @@ in the menu, and which key invokes each command.
1843records the list of known projects. It defaults to the file 1843records the list of known projects. It defaults to the file
1844@file{projects} in @code{user-emacs-directory} (@pxref{Find Init}). 1844@file{projects} in @code{user-emacs-directory} (@pxref{Find Init}).
1845 1845
1846@node Managing project list file
1847@subsection Managing Projects
1848
1849@table @kbd
1850@item M-x project-remove-known-project
1851Remove a known project from the (@code{project-list-file}).
1852@end table
1853
1854@findex project-remove-known-project
1855 Normally Emacs handle adding and removing projects to the
1856(@code{project-list-file}) automatically. Sometimes you still want to
1857manually edit the available
1858projects. @kbd{M-x project-remove-known-project} will prompt you for the
1859available projects, and upon selecting one, it will disappear from the
1860@code{project-list-file}
1861
1846@node Change Log 1862@node Change Log
1847@section Change Logs 1863@section Change Logs
1848 1864