]> granicus.if.org Git - vim/commitdiff
updated for version 7.3.071 v7.3.071
authorBram Moolenaar <Bram@vim.org>
Thu, 2 Dec 2010 14:33:21 +0000 (15:33 +0100)
committerBram Moolenaar <Bram@vim.org>
Thu, 2 Dec 2010 14:33:21 +0000 (15:33 +0100)
Problem:    Editing a file in a window that's in diff mode resets 'diff'
            but not cursor binding.
Solution:   Reset cursor binding in two more places.

src/option.c
src/quickfix.c
src/version.c

index 47537fa808394b4fae2001aa25594c5e2424c784..c8572d00ac27ca85ef0612be319e0e545a82ec7b 100644 (file)
@@ -9756,6 +9756,9 @@ copy_winopt(from, to)
 #ifdef FEAT_SCROLLBIND
     to->wo_scb = from->wo_scb;
 #endif
+#ifdef FEAT_CURSORBIND
+    to->wo_crb = from->wo_crb;
+#endif
 #ifdef FEAT_SPELL
     to->wo_spell = from->wo_spell;
 #endif
index 5060675fd4fb0a810541a24c002668db69d7b21e..82826b27cbadb0785ee90dc3b6d625a514322ff0 100644 (file)
@@ -2359,6 +2359,7 @@ ex_copen(eap)
            set_option_value((char_u *)"bt", 0L, (char_u *)"quickfix",
                                                                   OPT_LOCAL);
            set_option_value((char_u *)"bh", 0L, (char_u *)"wipe", OPT_LOCAL);
+           RESET_BINDING(curwin);
 #ifdef FEAT_DIFF
            curwin->w_p_diff = FALSE;
 #endif
index 5d96698a915b00f3ab54f0d3efc1807311d55246..339b8eb4cac57edb94270ad1dfafd76652cedd64 100644 (file)
@@ -714,6 +714,8 @@ static char *(features[]) =
 
 static int included_patches[] =
 {   /* Add new patch number below this line */
+/**/
+    71,
 /**/
     70,
 /**/