From a3509a71c0a11ce3cfa6eb96c6452bff68fc5bd9 Mon Sep 17 00:00:00 2001 From: Lars Ingebrigtsen Date: Sat, 13 Jul 2019 06:10:29 +0200 Subject: 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). --- doc/emacs/maintaining.texi | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) (limited to 'doc/emacs') 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 -- cgit v1.2.1