branch: scratch/add-vdiff
commit 1c8dd1eb28c8bb2d69f77deb5969d3627a783e4f
Author: justbur <[email protected]>
Commit: justbur <[email protected]>
Default to nil for auto refinement
In my tests it was a little surprising for certain changes.
Add note to README
---
README.org | 3 +++
vdiff.el | 2 +-
2 files changed, 4 insertions(+), 1 deletion(-)
diff --git a/README.org b/README.org
index b5d0af5..5e22fc7 100644
--- a/README.org
+++ b/README.org
@@ -151,6 +151,9 @@ The current customization options and there defaults are
;;
https://www.gnu.org/software/emacs/manual/html_node/elisp/Syntax-Class-Table.html
(setq vdiff-default-refinement-syntax-code "w")
+ ;; If non-nil, automatically refine all hunks.
+ (setq vdiff-auto-refine nil)
+
;; How to represent subtractions (i.e., deleted lines). The
;; default is full which means add the same number of (fake) lines
;; as those that were removed. The choice single means add only one
diff --git a/vdiff.el b/vdiff.el
index 11e8db2..df41f51 100644
--- a/vdiff.el
+++ b/vdiff.el
@@ -104,7 +104,7 @@
https://www.gnu.org/software/emacs/manual/html_node/elisp/Syntax-Class-Table.htm
:group 'vdiff
:type 'string)
-(defcustom vdiff-auto-refine t
+(defcustom vdiff-auto-refine nil
"If non-nil, automatically refine all hunks."
:group 'vdiff
:type 'bool)