From dbf2f18f170d5de05a80b12fa538e14b540780a5 Mon Sep 17 00:00:00 2001 From: Lars Ingebrigtsen Date: Mon, 16 Sep 2019 22:02:19 +0200 Subject: [PATCH] Document vc-dir-ignore * doc/emacs/maintaining.texi (VC Directory Commands): Document vc-dir-ignore. --- doc/emacs/maintaining.texi | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/doc/emacs/maintaining.texi b/doc/emacs/maintaining.texi index e92a959d99c..ae4b7bbafff 100644 --- a/doc/emacs/maintaining.texi +++ b/doc/emacs/maintaining.texi @@ -1281,6 +1281,12 @@ point is on a directory entry, mark all files in that directory tree (@code{vc-dir-mark-all-files}). With a prefix argument, mark all listed files and directories. +@item G +Add the file under point to the list of files that the VC should +ignore (@code{vc-dir-ignore}). For instance, if the VC is Git, it +will append this file to the @samp{.gitignore} file. If given a +prefix, do this with all the marked files. + @item q Quit the VC Directory buffer, and bury it (@code{quit-window}). -- 2.39.5