]> git.eshelyaron.com Git - emacs.git/commit
Font lock long Git commit summary lines
authorSean Whitton <spwhitton@spwhitton.name>
Sun, 4 Sep 2022 23:20:15 +0000 (16:20 -0700)
committerSean Whitton <spwhitton@spwhitton.name>
Mon, 5 Sep 2022 18:12:23 +0000 (11:12 -0700)
commit21c725dfe0c8fc3d4df32edb4995346df1ea9b97
tree46df487a95bdce737da851f793360df8688279f9
parent3f1efe33d68b4a09246e0d2d6e5fb0e3def26060
Font lock long Git commit summary lines

* lisp/vc/vc-git.el (vc-git-log-edit-summary-target-len)
(vc-git-log-edit-summary-max-len): New defcustoms.
(vc-git-log-edit-summary-target-warning)
(vc-git-log-edit-summary-max-warning): New faces.
(vc-git--log-edit-summary-check): New function.
(vc-git-log-edit-mode): Add vc-git--log-edit-summary-check to
log-edit-font-lock-keywords to font lock long Git commit summary
lines.
* etc/NEWS (VC): Document the change.
* .dir-locals.el: Set vc-git-log-edit-summary-target-len.
.dir-locals.el
etc/NEWS
lisp/vc/vc-git.el