]> git.eshelyaron.com Git - emacs.git/commitdiff
* lisp/vc/vc-git.el (vc-git-log-view-mode): Font-lock AuthorDate (bug#40248)
authorJuri Linkov <juri@linkov.net>
Wed, 29 Jul 2020 00:47:29 +0000 (03:47 +0300)
committerJuri Linkov <juri@linkov.net>
Wed, 29 Jul 2020 00:47:29 +0000 (03:47 +0300)
Highlight "AuthorDate" in log-view-font-lock-keywords
when [format] pretty = fuller.

lisp/vc/vc-git.el

index 7f6e1db1ed784ba7bbe1d891c5d0983701ba7fa0..e0cf9e795956671693b54243ce6a0f153b0bf3b1 100644 (file)
@@ -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)))))))