From 9219e83b3c0ef53df02caf4c8ba38f482937ab50 Mon Sep 17 00:00:00 2001 From: Sean Whitton Date: Mon, 5 Sep 2022 17:39:21 -0700 Subject: [PATCH] ; 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. --- lisp/vc/vc-git.el | 2 ++ 1 file changed, 2 insertions(+) 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 -- 2.39.2