aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAndré Spiegel2001-09-10 17:51:04 +0000
committerAndré Spiegel2001-09-10 17:51:04 +0000
commit1cec418c1ec7f4b026695cc4f4a17fe0872259ed (patch)
tree732d03581961a4fc236b1e77b9d509bc20e92519
parent87373ae8bab39e6bf0b77a42be072587e491833e (diff)
downloademacs-1cec418c1ec7f4b026695cc4f4a17fe0872259ed.tar.gz
emacs-1cec418c1ec7f4b026695cc4f4a17fe0872259ed.zip
(vc-annotate): Rewrote doc string.
-rw-r--r--lisp/vc.el27
1 files changed, 21 insertions, 6 deletions
diff --git a/lisp/vc.el b/lisp/vc.el
index 6142ad2f785..cbb2c362233 100644
--- a/lisp/vc.el
+++ b/lisp/vc.el
@@ -6,7 +6,7 @@
6;; Maintainer: Andre Spiegel <spiegel@gnu.org> 6;; Maintainer: Andre Spiegel <spiegel@gnu.org>
7;; Keywords: tools 7;; Keywords: tools
8 8
9;; $Id: vc.el,v 1.306 2001/08/28 17:02:59 spiegel Exp $ 9;; $Id: vc.el,v 1.307 2001/09/04 12:52:10 gerd Exp $
10 10
11;; This file is part of GNU Emacs. 11;; This file is part of GNU Emacs.
12 12
@@ -2849,11 +2849,26 @@ menu items."
2849 2849
2850;;;###autoload 2850;;;###autoload
2851(defun vc-annotate (prefix) 2851(defun vc-annotate (prefix)
2852 "Display the result of the \"Annotate\" command using colors. 2852 "Display the edit history of the current file using colours.
2853\"Annotate\" is defined by `vc-BACKEND-annotate-command'. New lines 2853
2854are displayed in red, old in blue. When given a prefix argument, asks 2854This command creates a buffer that shows, for each line of the current
2855for a version to annotate from, and a factor for stretching the time 2855file, when it was last edited and by whom. Additionally, colours are
2856scale. 2856used to show the age of each line--blue means oldest, red means
2857youngest, and intermediate colours indicate intermediate ages. By
2858default, the time scale stretches back one year into the past;
2859everything that is older than that is shown in blue.
2860
2861With a prefix argument, this command asks two questions in the
2862minibuffer. First, you may enter a version number; then the buffer
2863displays and annotates that version instead of the current version
2864(type RET in the minibuffer to leave that default unchanged). Then,
2865you are prompted for a stretch factor for the time scale. This makes
2866the color range cover a time span longer or shorter than the default
2867of one year. For example, a factor of 0.1 means that the range from
2868red to blue stands for the past 36 days only, and everything that is
2869older than that is shown in blue.
2870
2871Customization variables:
2857 2872
2858`vc-annotate-menu-elements' customizes the menu elements of the 2873`vc-annotate-menu-elements' customizes the menu elements of the
2859mode-specific menu. `vc-annotate-color-map' and 2874mode-specific menu. `vc-annotate-color-map' and