From: Juri Linkov Date: Wed, 29 Jul 2020 00:47:29 +0000 (+0300) Subject: * lisp/vc/vc-git.el (vc-git-log-view-mode): Font-lock AuthorDate (bug#40248) X-Git-Tag: emacs-28.0.90~6913 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=eb9e065c00c5590967255fa3abf51db966a5df72;p=emacs.git * lisp/vc/vc-git.el (vc-git-log-view-mode): Font-lock AuthorDate (bug#40248) Highlight "AuthorDate" in log-view-font-lock-keywords when [format] pretty = fuller. --- diff --git a/lisp/vc/vc-git.el b/lisp/vc/vc-git.el index 7f6e1db1ed7..e0cf9e79595 100644 --- a/lisp/vc/vc-git.el +++ b/lisp/vc/vc-git.el @@ -1266,7 +1266,7 @@ log entries." ("^Merge: \\([0-9a-z]+\\) \\([0-9a-z]+\\)" (1 'change-log-acknowledgment) (2 'change-log-acknowledgment)) - ("^Date: \\(.+\\)" (1 'change-log-date)) + ("^\\(?:Date: \\|AuthorDate: \\)\\(.+\\)" (1 'change-log-date)) ("^summary:[ \t]+\\(.+\\)" (1 'log-view-message)))))))