diff options
| author | André Spiegel | 2001-09-10 17:51:04 +0000 |
|---|---|---|
| committer | André Spiegel | 2001-09-10 17:51:04 +0000 |
| commit | 1cec418c1ec7f4b026695cc4f4a17fe0872259ed (patch) | |
| tree | 732d03581961a4fc236b1e77b9d509bc20e92519 | |
| parent | 87373ae8bab39e6bf0b77a42be072587e491833e (diff) | |
| download | emacs-1cec418c1ec7f4b026695cc4f4a17fe0872259ed.tar.gz emacs-1cec418c1ec7f4b026695cc4f4a17fe0872259ed.zip | |
(vc-annotate): Rewrote doc string.
| -rw-r--r-- | lisp/vc.el | 27 |
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 | |
| 2854 | are displayed in red, old in blue. When given a prefix argument, asks | 2854 | This command creates a buffer that shows, for each line of the current |
| 2855 | for a version to annotate from, and a factor for stretching the time | 2855 | file, when it was last edited and by whom. Additionally, colours are |
| 2856 | scale. | 2856 | used to show the age of each line--blue means oldest, red means |
| 2857 | youngest, and intermediate colours indicate intermediate ages. By | ||
| 2858 | default, the time scale stretches back one year into the past; | ||
| 2859 | everything that is older than that is shown in blue. | ||
| 2860 | |||
| 2861 | With a prefix argument, this command asks two questions in the | ||
| 2862 | minibuffer. First, you may enter a version number; then the buffer | ||
| 2863 | displays and annotates that version instead of the current version | ||
| 2864 | (type RET in the minibuffer to leave that default unchanged). Then, | ||
| 2865 | you are prompted for a stretch factor for the time scale. This makes | ||
| 2866 | the color range cover a time span longer or shorter than the default | ||
| 2867 | of one year. For example, a factor of 0.1 means that the range from | ||
| 2868 | red to blue stands for the past 36 days only, and everything that is | ||
| 2869 | older than that is shown in blue. | ||
| 2870 | |||
| 2871 | Customization 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 |
| 2859 | mode-specific menu. `vc-annotate-color-map' and | 2874 | mode-specific menu. `vc-annotate-color-map' and |