From 6a74521e9ab8211f03a3e3cc6e941c2abd3d8e47 Mon Sep 17 00:00:00 2001 From: Mauro Aranda Date: Mon, 15 Apr 2019 12:58:36 -0300 Subject: [PATCH] Update vc-revert documentation * doc/emacs/maintaining.texi (VC Undo): Document that it is possible to use undo commands after vc-revert. (Bug#35290) --- doc/emacs/maintaining.texi | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/doc/emacs/maintaining.texi b/doc/emacs/maintaining.texi index fd0119e..6f10033 100644 --- a/doc/emacs/maintaining.texi +++ b/doc/emacs/maintaining.texi @@ -1093,8 +1093,9 @@ VC Undo If you agree, the fileset is reverted. If you don't want @kbd{C-x v u} to show a diff, set the variable @code{vc-revert-show-diff} to @code{nil} (you can still view the diff directly with @kbd{C-x v =}; -@pxref{Old Revisions}). Note that @kbd{C-x v u} cannot be reversed -with the usual undo commands (@pxref{Undo}), so use it with care. +@pxref{Old Revisions}). Because reverting acts like a single +modification of the buffer contents, it is possible to bring all +the reverted changes back with a single @code{undo} command (@pxref{Undo}). On locking-based version control systems, @kbd{C-x v u} leaves files unlocked; you must lock again to resume editing. You can also use -- 2.7.4