[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
master 8b4dd26 1/2: diff-update-on-the-fly doc string clarification
From: |
Lars Ingebrigtsen |
Subject: |
master 8b4dd26 1/2: diff-update-on-the-fly doc string clarification |
Date: |
Fri, 16 Oct 2020 03:10:17 -0400 (EDT) |
branch: master
commit 8b4dd261cb8c87d428dadb98d22254c818ac2eb6
Author: Lars Ingebrigtsen <larsi@gnus.org>
Commit: Lars Ingebrigtsen <larsi@gnus.org>
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 f223ae4..d586afb 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