diff options
| author | Eli Zaretskii | 2015-12-26 17:52:53 +0200 |
|---|---|---|
| committer | Eli Zaretskii | 2015-12-26 17:52:53 +0200 |
| commit | ca13f61dea7030452848d455db7d3aba9e2e7a85 (patch) | |
| tree | 627291c36884aade98aa8eff35b6a733bf4a7bb3 | |
| parent | 78744677ce30b4d744c3bc96c5400188054a4163 (diff) | |
| download | emacs-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.texi | 16 | ||||
| -rw-r--r-- | etc/NEWS | 1 |
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 | |||
| 1020 | entries} or @samp{Show unlimited entries} buttons at the end of the | 1020 | entries} or @samp{Show unlimited entries} buttons at the end of the |
| 1021 | buffer. However, RCS, SCCS, and CVS do not support this feature. | 1021 | buffer. However, RCS, SCCS, and CVS do not support this feature. |
| 1022 | 1022 | ||
| 1023 | @findex vc-region-history | ||
| 1024 | A useful variant of examining changes is provided by the command | ||
| 1025 | @kbd{vc-region-history}, which shows a @file{*VC-history*} buffer with | ||
| 1026 | the history of changes to the region of the current file between point | ||
| 1027 | and the mark (@pxref{Mark}). The history of changes includes the | ||
| 1028 | commit log messages and also the changes themselves in the Diff | ||
| 1029 | format. | ||
| 1030 | |||
| 1031 | Invoke this command after marking the region of the current file in | ||
| 1032 | whose changes you are interested. In the @file{*VC-history*} buffer | ||
| 1033 | it pops up, you can use all of the commands available in the | ||
| 1034 | @file{*vc-change-log*} buffer described above, and also the commands | ||
| 1035 | defined by Diff mode (@pxref{Diff Mode}). | ||
| 1036 | |||
| 1037 | This 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 | ||
| @@ -817,6 +817,7 @@ comments. | |||
| 817 | Implemented for Bzr, Git, Hg. As part of this change, the pre-existing | 817 | Implemented 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 | +++ |