diff options
author | Sean Whitton <spwhitton@spwhitton.name> | 2022-09-04 16:20:15 -0700 |
---|---|---|
committer | Sean Whitton <spwhitton@spwhitton.name> | 2022-09-05 11:12:23 -0700 |
commit | 21c725dfe0c8fc3d4df32edb4995346df1ea9b97 (patch) | |
tree | 46df487a95bdce737da851f793360df8688279f9 /.dir-locals.el | |
parent | 3f1efe33d68b4a09246e0d2d6e5fb0e3def26060 (diff) | |
download | emacs-21c725dfe0c8fc3d4df32edb4995346df1ea9b97.tar.gz |
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.
Diffstat (limited to '.dir-locals.el')
-rw-r--r-- | .dir-locals.el | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/.dir-locals.el b/.dir-locals.el index 7812beb001c..1c90ddcf567 100644 --- a/.dir-locals.el +++ b/.dir-locals.el @@ -17,7 +17,8 @@ (electric-quote-string . nil) (mode . bug-reference-prog))) (log-edit-mode . ((log-edit-font-lock-gnu-style . t) - (log-edit-setup-add-author . t))) + (log-edit-setup-add-author . t) + (vc-git-log-edit-summary-target-len . 50))) (change-log-mode . ((add-log-time-zone-rule . t) (fill-column . 74) (mode . bug-reference))) |