git-commit-vandalism/contrib/emacs
Xavier Maillard 3cc5ca3923 git-blame.el: pick a set of random colors for each git-blame turn
I thought it would be cool to have different set of colors for each
git-blame-mode. Function `git-blame-new-commit' does this for us
picking when possible, a random colors based on the set we build on
startup. When it fails, `git-blame-ancient-color' will be used. We
also take care not to use the same color more than once (thank you
David Kågedal, really).

* Prevent (future possible) namespace clash by renaming `color-scale'
into `git-blame-color-scale'. Definition has been changed to be more
in the "lisp" way (thanks for help to #emacs). Also added a small
description of what it does.

* Added docstrings at some point and instructed defvar when a variable
was candidate to customisation by users.

* Added missing defvar to silent byte-compilers (git-blame-file,
git-blame-current)

* Do not require 'cl at startup

* Added more informations on compatibility

Signed-off-by: Xavier Maillard <zedek@gnu.org>
Acked-by: David Kågedal <davidk@lysator.liu.se>
Signed-off-by: Junio C Hamano <junkio@cox.net>
2007-03-31 23:58:10 -07:00
..
.gitignore contrib/emacs/Makefile: Provide tool for byte-compiling files. 2006-03-05 11:32:49 -08:00
git-blame.el git-blame.el: pick a set of random colors for each git-blame turn 2007-03-31 23:58:10 -07:00
git.el git.el: Display some information about the HEAD commit. 2007-03-27 12:52:41 -07:00
Makefile contrib/emacs: Use non-interactive function to byte-compile files 2007-03-05 00:45:57 -08:00
vc-git.el vc-git.el: Take into account the destination name in vc-checkout. 2007-01-26 15:38:27 -08:00