summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSean Whitton <spwhitton@spwhitton.name>2022-09-05 17:39:21 -0700
committerSean Whitton <spwhitton@spwhitton.name>2022-09-05 17:39:21 -0700
commit9219e83b3c0ef53df02caf4c8ba38f482937ab50 (patch)
treed2703d2a116539001a00859f3a94650c7bd4ddaf
parent6a19f2a024b4cede80e2896318696008d1dd1b21 (diff)
downloademacs-9219e83b3c0ef53df02caf4c8ba38f482937ab50.tar.gz
; 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.
-rw-r--r--lisp/vc/vc-git.el2
1 files changed, 2 insertions, 0 deletions
diff --git a/lisp/vc/vc-git.el b/lisp/vc/vc-git.el
index 573622b71e1..9dfdd9e7b13 100644
--- a/lisp/vc/vc-git.el
+++ b/lisp/vc/vc-git.el
@@ -862,6 +862,7 @@ The car of the list is the current branch."
"Target length for Git commit summary lines.
If a number, characters in Summary: lines beyond this length are
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
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.
If a number, characters in summary lines beyond this length are
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
this because otherwise the summary line will be truncated in many