]> git.eshelyaron.com Git - emacs.git/commitdiff
Make smerge-refine-ignore-whitespace into defcustom
authorLars Ingebrigtsen <larsi@gnus.org>
Wed, 26 Jan 2022 17:54:58 +0000 (18:54 +0100)
committerLars Ingebrigtsen <larsi@gnus.org>
Wed, 26 Jan 2022 17:57:29 +0000 (18:57 +0100)
* lisp/vc/smerge-mode.el (smerge-refine-ignore-whitespace): Make
into defcustom (bug#12585).

lisp/vc/smerge-mode.el

index 6a4f6542b5ed5336e365383057a238d2d9307e5c..003b26eca41f4e029932f89cdbde0f5b66a04c48 100644 (file)
@@ -925,8 +925,11 @@ Its behavior has mainly two restrictions:
   to `smerge-refine-regions'.
   This only matters if `smerge-refine-weight-hack' is nil.")
 
-(defvar smerge-refine-ignore-whitespace t
-  "If non-nil, `smerge-refine' should try to ignore change in whitespace.")
+(defcustom smerge-refine-ignore-whitespace t
+  "If non-nil, `smerge-refine' should try to ignore change in whitespace."
+  :type 'boolean
+  :version "29.1"
+  :group 'diff)
 
 (defvar smerge-refine-weight-hack t
   "If non-nil, pass to diff as many lines as there are chars in the region.