* lisp/vc/log-edit.el (log-edit-font-lock-keywords): Avoid incorrect
fontification when used with the third-party git-commit-mode (part of
Magit).
(cherry picked from commit
c6fe5b779564001e40d5779976968850aa2a166a)
'log-edit-header)
nil lax))
("^\n"
- (progn (goto-char (match-end 0)) (1+ (match-end 0))) nil
- (0 '(face log-edit-headers-separator
- display-line-numbers-disable t rear-nonsticky t))))
+ (and (not (bound-and-true-p git-commit-mode))
+ (progn (goto-char (match-end 0)) (1+ (match-end 0)))) nil
+ (0 '( face log-edit-headers-separator
+ display-line-numbers-disable t rear-nonsticky t))))
(log-edit--match-first-line (0 'log-edit-summary))))
(defvar log-edit-font-lock-gnu-style nil