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.
#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
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
static int included_patches[] =
{ /* Add new patch number below this line */
+/**/
+ 71,
/**/
70,
/**/