aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorEli Zaretskii2015-12-26 17:52:53 +0200
committerEli Zaretskii2015-12-26 17:52:53 +0200
commitca13f61dea7030452848d455db7d3aba9e2e7a85 (patch)
tree627291c36884aade98aa8eff35b6a733bf4a7bb3
parent78744677ce30b4d744c3bc96c5400188054a4163 (diff)
downloademacs-ca13f61dea7030452848d455db7d3aba9e2e7a85.tar.gz
emacs-ca13f61dea7030452848d455db7d3aba9e2e7a85.zip
Document 'vc-region-history'
* doc/emacs/maintaining.texi (VC Change Log): Document 'vc-region-history'.
-rw-r--r--doc/emacs/maintaining.texi16
-rw-r--r--etc/NEWS1
2 files changed, 17 insertions, 0 deletions
diff --git a/doc/emacs/maintaining.texi b/doc/emacs/maintaining.texi
index cb43f767aa3..2d11b201d32 100644
--- a/doc/emacs/maintaining.texi
+++ b/doc/emacs/maintaining.texi
@@ -1020,6 +1020,22 @@ increase the number of revisions shown in an existing
1020entries} or @samp{Show unlimited entries} buttons at the end of the 1020entries} or @samp{Show unlimited entries} buttons at the end of the
1021buffer. However, RCS, SCCS, and CVS do not support this feature. 1021buffer. However, RCS, SCCS, and CVS do not support this feature.
1022 1022
1023@findex vc-region-history
1024A useful variant of examining changes is provided by the command
1025@kbd{vc-region-history}, which shows a @file{*VC-history*} buffer with
1026the history of changes to the region of the current file between point
1027and the mark (@pxref{Mark}). The history of changes includes the
1028commit log messages and also the changes themselves in the Diff
1029format.
1030
1031Invoke this command after marking the region of the current file in
1032whose changes you are interested. In the @file{*VC-history*} buffer
1033it pops up, you can use all of the commands available in the
1034@file{*vc-change-log*} buffer described above, and also the commands
1035defined by Diff mode (@pxref{Diff Mode}).
1036
1037This command is currently available only with Git.
1038
1023@node VC Undo 1039@node VC Undo
1024@subsection Undoing Version Control Actions 1040@subsection Undoing Version Control Actions
1025 1041
diff --git a/etc/NEWS b/etc/NEWS
index a53c4540d03..8a926c2a731 100644
--- a/etc/NEWS
+++ b/etc/NEWS
@@ -817,6 +817,7 @@ comments.
817Implemented for Bzr, Git, Hg. As part of this change, the pre-existing 817Implemented for Bzr, Git, Hg. As part of this change, the pre-existing
818(undocumented) command vc-hg-push now behaves slightly differently. 818(undocumented) command vc-hg-push now behaves slightly differently.
819 819
820+++
820*** The new command vc-region-history shows the log+diff of the active region. 821*** The new command vc-region-history shows the log+diff of the active region.
821 822
822+++ 823+++