From: Dan Nicolaescu Date: Mon, 17 Sep 2007 19:13:19 +0000 (+0000) Subject: (vc-git-log-view-mode): Add font-lock patterns for X-Git-Tag: emacs-pretest-22.1.90~793 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=576c7f5e194536575bf144f08803fd76f3d6995a;p=emacs.git (vc-git-log-view-mode): Add font-lock patterns for Signed-off-by, Acked-by and Merge. --- diff --git a/lisp/ChangeLog b/lisp/ChangeLog index ce68071ddda..adab9604659 100644 --- a/lisp/ChangeLog +++ b/lisp/ChangeLog @@ -1,3 +1,8 @@ +2007-09-17 Dan Nicolaescu + + * vc-git.el (vc-git-log-view-mode): Add font-lock patterns for + Signed-off-by, Acked-by and Merge. + 2007-09-17 Glenn Morris * textmodes/tex-mode.el (tex-compilation-parse-errors): Prefer the diff --git a/lisp/vc-git.el b/lisp/vc-git.el index ed4b1270972..88946f160ff 100644 --- a/lisp/vc-git.el +++ b/lisp/vc-git.el @@ -290,6 +290,14 @@ ("^Author:[ \t]+\\([^<(]+?\\)[ \t]*[(<]\\([A-Za-z0-9_.+-]+@[A-Za-z0-9_.-]+\\)[>)]" (1 'change-log-name) (2 'change-log-email)) + ("^ +\\(?:\\(?:[Aa]cked\\|[Ss]igned-[Oo]ff\\)-[Bb]y:\\)[ \t]+\\([A-Za-z0-9_.+-]+@[A-Za-z0-9_.-]+\\)" + (1 'change-log-name)) + ("^ +\\(?:\\(?:[Aa]cked\\|[Ss]igned-[Oo]ff\\)-[Bb]y:\\)[ \t]+\\([^<(]+?\\)[ \t]*[(<]\\([A-Za-z0-9_.+-]+@[A-Za-z0-9_.-]+\\)[>)]" + (1 'change-log-name) + (2 'change-log-email)) + ("^Merge: \\([0-9a-z]+\\) \\([0-9a-z]+\\)" + (1 'change-log-acknowledgement) + (2 'change-log-acknowledgement)) ("^Date: \\(.+\\)" (1 'change-log-date)) ("^summary:[ \t]+\\(.+\\)" (1 'log-view-message))))))