1
Fork 0
mirror of git://git.sv.gnu.org/emacs.git synced 2026-01-06 03:40:56 -08:00

; Document that a value of any other type means no highlighting

* lisp/vc/vc-git.el (vc-git-log-edit-summary-target-len)
(vc-git-log-edit-summary-max-len): Document that a value of any other
type means no highlighting.
This commit is contained in:
Sean Whitton 2022-09-05 17:39:21 -07:00
parent 6a19f2a024
commit 9219e83b3c

View file

@ -862,6 +862,7 @@ The car of the list is the current branch."
"Target length for Git commit summary lines. "Target length for Git commit summary lines.
If a number, characters in Summary: lines beyond this length are If a number, characters in Summary: lines beyond this length are
displayed in the `vc-git-log-edit-summary-target-warning' face. displayed in the `vc-git-log-edit-summary-target-warning' face.
A value of any other type means no highlighting.
By setting this to an integer around 50, you can improve the By setting this to an integer around 50, you can improve the
compatibility of your commit messages with Git commands that compatibility of your commit messages with Git commands that
@ -882,6 +883,7 @@ See `vc-git-log-edit-summary-target-len'.")
"Maximum length for Git commit summary lines. "Maximum length for Git commit summary lines.
If a number, characters in summary lines beyond this length are If a number, characters in summary lines beyond this length are
displayed in the `vc-git-log-edit-summary-max-warning' face. displayed in the `vc-git-log-edit-summary-max-warning' face.
A value of any other type means no highlighting.
It is good practice to avoid writing summary lines longer than It is good practice to avoid writing summary lines longer than
this because otherwise the summary line will be truncated in many this because otherwise the summary line will be truncated in many