[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Emacs-diffs] emacs-25 42ae568: Document 'vc-annotate-background-mode'
From: |
Eli Zaretskii |
Subject: |
[Emacs-diffs] emacs-25 42ae568: Document 'vc-annotate-background-mode' |
Date: |
Sat, 26 Dec 2015 16:04:07 +0000 |
branch: emacs-25
commit 42ae568b3d187a42ead03d880efda076615e0d3a
Author: Eli Zaretskii <address@hidden>
Commit: Eli Zaretskii <address@hidden>
Document 'vc-annotate-background-mode'
* doc/emacs/maintaining.texi (Old Revisions): Document
'vc-annotate-background-mode'.
---
doc/emacs/maintaining.texi | 14 +++++++++-----
etc/NEWS | 1 +
2 files changed, 10 insertions(+), 5 deletions(-)
diff --git a/doc/emacs/maintaining.texi b/doc/emacs/maintaining.texi
index 2d11b20..801d147 100644
--- a/doc/emacs/maintaining.texi
+++ b/doc/emacs/maintaining.texi
@@ -832,15 +832,19 @@ corresponding to @var{revision}, saves it to
window.
@findex vc-annotate
address@hidden vc-annotate-background-mode
@kindex C-x v g
Many version control systems allow you to view files @dfn{annotated}
with per-line revision information, by typing @kbd{C-x v g}
(@code{vc-annotate}). This creates a new ``annotate'' buffer
-displaying the file's text, with each line colored to show
-how old it is. Red text is new, blue is old, and intermediate colors
-indicate intermediate ages. By default, the color is scaled over the
-full range of ages, such that the oldest changes are blue, and the
-newest changes are red.
+displaying the file's text, with each line colored to show how old it
+is. Red text is new, blue is old, and intermediate colors indicate
+intermediate ages. By default, the color is scaled over the full
+range of ages, such that the oldest changes are blue, and the newest
+changes are red. If the variable @code{vc-annotate-background-mode}
+is address@hidden, the colors expressing the age of each line are
+applied to the background color, leaving the foreground at its default
+color.
When you give a prefix argument to this command, Emacs reads two
arguments using the minibuffer: the revision to display and annotate
diff --git a/etc/NEWS b/etc/NEWS
index 8a926c2..ee56d23 100644
--- a/etc/NEWS
+++ b/etc/NEWS
@@ -826,6 +826,7 @@ This command is useful when you perform version control
commands
outside Emacs (e.g., from the shell prompt), or if you switch the VC
back-end for the buffer's file, or remove it from version control.
++++
*** New option `vc-annotate-background-mode' controls whether
the color range from `vc-annotate-color-map' is applied to the
background or to the foreground.
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Emacs-diffs] emacs-25 42ae568: Document 'vc-annotate-background-mode',
Eli Zaretskii <=