git.el: Don't use font-lock-compile-keywords
commit485cdb9bd8bd7de6c7099c1c3e9c6fca6a60fdd3
authorLawrence Mitchell <wence@gmx.li>
Fri, 4 Feb 2011 10:59:18 +0000 (4 10:59 +0000)
committerJunio C Hamano <gitster@pobox.com>
Sun, 3 Apr 2011 18:08:54 +0000 (3 11:08 -0700)
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 <wence@gmx.li>
Acked-by: Alexandre Julliard <julliard@winehq.org>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
contrib/emacs/git.el