emacs-elpa-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[elpa] scratch/add-vdiff 1c8dd1e 138/258: Default to nil for auto refine


From: Justin Burkett
Subject: [elpa] scratch/add-vdiff 1c8dd1e 138/258: Default to nil for auto refinement
Date: Wed, 17 May 2017 08:13:38 -0400 (EDT)

branch: scratch/add-vdiff
commit 1c8dd1eb28c8bb2d69f77deb5969d3627a783e4f
Author: justbur <address@hidden>
Commit: justbur <address@hidden>

    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)



reply via email to

[Prev in Thread] Current Thread [Next in Thread]