author | Lawrence Mitchell <wence@gmx.li> | |
Fri, 4 Feb 2011 10:59:18 +0000 (10:59 +0000) | ||
committer | Junio C Hamano <gitster@pobox.com> | |
Sun, 3 Apr 2011 18:08:54 +0000 (11:08 -0700) | ||
commit | 485cdb9bd8bd7de6c7099c1c3e9c6fca6a60fdd3 | |
tree | bdeca086a495bc3d680385dd12740723c017c634 | tree | snapshot |
parent | 6b3d83efaceefdc198df270c7ad6e9fbf51c7537 | commit | diff |
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>
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 | diff | blob | history |