git.el: Don't use font-lock-compile-keywords
authorLawrence Mitchell <redacted>
Fri, 4 Feb 2011 10:59:18 +0000 (10:59 +0000)
committerJunio C Hamano <redacted>
Sun, 3 Apr 2011 18:08:54 +0000 (11:08 -0700)
commit485cdb9bd8bd7de6c7099c1c3e9c6fca6a60fdd3
treebdeca086a495bc3d680385dd12740723c017c634
parent6b3d83efaceefdc198df270c7ad6e9fbf51c7537
git.el: Don't use font-lock-compile-keywords

If font-lock is disabled, font-lock-compile-keywords complains.
Really what we want to do is to replace log-edit's font-lock
definitions with our own, so define a major mode deriving from
log-edit and set up font-lock-defaults there.  We then use the
optional MODE argument to log-edit to set up the major mode of the
commit buffer appropriately.

Signed-off-by: Lawrence Mitchell <redacted>
Acked-by: Alexandre Julliard <redacted>
Signed-off-by: Junio C Hamano <redacted>
contrib/emacs/git.el
git clone https://git.99rst.org/PROJECT