From 8b4dd261cb8c87d428dadb98d22254c818ac2eb6 Mon Sep 17 00:00:00 2001 From: Lars Ingebrigtsen Date: Fri, 16 Oct 2020 08:46:07 +0200 Subject: [PATCH] diff-update-on-the-fly doc string clarification * lisp/vc/diff-mode.el (diff-update-on-the-fly): Mention what the nil value does (bug#43297). --- lisp/vc/diff-mode.el | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/lisp/vc/diff-mode.el b/lisp/vc/diff-mode.el index f223ae48f3b..d586afb97b0 100644 --- a/lisp/vc/diff-mode.el +++ b/lisp/vc/diff-mode.el @@ -83,7 +83,10 @@ When editing a diff file, the line numbers in the hunk headers need to be kept consistent with the actual diff. This can either be done on the fly (but this sometimes interacts poorly with the undo mechanism) or whenever the file is written (can be slow -when editing big diffs)." +when editing big diffs). + +If this variable is nil, the hunk header numbers are updated when +the file is written instead." :type 'boolean) (defcustom diff-advance-after-apply-hunk t -- 2.39.2