aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSean Whitton2022-09-05 17:39:21 -0700
committerSean Whitton2022-09-05 17:39:21 -0700
commit9219e83b3c0ef53df02caf4c8ba38f482937ab50 (patch)
treed2703d2a116539001a00859f3a94650c7bd4ddaf
parent6a19f2a024b4cede80e2896318696008d1dd1b21 (diff)
downloademacs-9219e83b3c0ef53df02caf4c8ba38f482937ab50.tar.gz
emacs-9219e83b3c0ef53df02caf4c8ba38f482937ab50.zip
; 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."
862 "Target length for Git commit summary lines. 862 "Target length for Git commit summary lines.
863If a number, characters in Summary: lines beyond this length are 863If a number, characters in Summary: lines beyond this length are
864displayed in the `vc-git-log-edit-summary-target-warning' face. 864displayed in the `vc-git-log-edit-summary-target-warning' face.
865A value of any other type means no highlighting.
865 866
866By setting this to an integer around 50, you can improve the 867By setting this to an integer around 50, you can improve the
867compatibility of your commit messages with Git commands that 868compatibility of your commit messages with Git commands that
@@ -882,6 +883,7 @@ See `vc-git-log-edit-summary-target-len'.")
882 "Maximum length for Git commit summary lines. 883 "Maximum length for Git commit summary lines.
883If a number, characters in summary lines beyond this length are 884If a number, characters in summary lines beyond this length are
884displayed in the `vc-git-log-edit-summary-max-warning' face. 885displayed in the `vc-git-log-edit-summary-max-warning' face.
886A value of any other type means no highlighting.
885 887
886It is good practice to avoid writing summary lines longer than 888It is good practice to avoid writing summary lines longer than
887this because otherwise the summary line will be truncated in many 889this because otherwise the summary line will be truncated in many