summaryrefslogtreecommitdiff
path: root/doc/emacs
diff options
context:
space:
mode:
authorLars Ingebrigtsen <larsi@gnus.org>2019-07-13 06:10:29 +0200
committerLars Ingebrigtsen <larsi@gnus.org>2019-07-13 06:10:29 +0200
commita3509a71c0a11ce3cfa6eb96c6452bff68fc5bd9 (patch)
tree15d5542f702d83b3438d236489f5f6698e4e3d4d /doc/emacs
parente04f7c62fc363bf0434b748b4eff2f21f2a65838 (diff)
downloademacs-a3509a71c0a11ce3cfa6eb96c6452bff68fc5bd9.tar.gz
Add a new command in vc-dir mode to delete files
* doc/emacs/maintaining.texi (VC Directory Commands): Document it. * lisp/vc/vc-dir.el (vc-dir-delete-files-no-vc): New command and keystroke (bug#31732).
Diffstat (limited to 'doc/emacs')
-rw-r--r--doc/emacs/maintaining.texi9
1 files changed, 8 insertions, 1 deletions
diff --git a/doc/emacs/maintaining.texi b/doc/emacs/maintaining.texi
index 4986c111030..42ea4d3254d 100644
--- a/doc/emacs/maintaining.texi
+++ b/doc/emacs/maintaining.texi
@@ -1349,7 +1349,14 @@ Prompt for the name of a branch and display the change history of that
branch (@code{vc-print-branch-log}).
@item B s
-Switch to a branch (@code{vc-retrieve-tag}). @xref{Switching Branches}.
+Switch to a branch (@code{vc-retrieve-tag}). @xref{Switching
+Branches}.
+
+@item d
+Delete the marked files, or the current file if no marks
+(@code{vc-dir-delete-files-no-vc)}. The files will not be marked as
+deleted in the version control system, so this function is mostly
+useful for unregistered files.
@end table
@cindex stashes in version control