0
0
mirror of https://github.com/vim/vim.git synced 2025-09-26 04:04:07 -04:00

updated for version 7.3.071

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.
This commit is contained in:
Bram Moolenaar
2010-12-02 15:33:21 +01:00
parent d4ddfafc2a
commit 4161dccada
3 changed files with 6 additions and 0 deletions

View 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

View 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

View File

@@ -714,6 +714,8 @@ static char *(features[]) =
static int included_patches[] =
{ /* Add new patch number below this line */
/**/
71,
/**/
70,
/**/