comparison src/ex_docmd.c @ 2583:7c2e6ba1d702 v7.3.008

updated for version 7.3.008 Problem: 'cursorbind' is kept in places where 'scrollbind' is reset. Solution: Reset 'cursorbind'.
author Bram Moolenaar <bram@vim.org>
date Tue, 21 Sep 2010 16:56:35 +0200
parents fde086181841
children 71219f47ccd9
comparison
equal deleted inserted replaced
2582:2cdbc91795ca 2583:7c2e6ba1d702
6896 if (split) 6896 if (split)
6897 { 6897 {
6898 # ifdef FEAT_WINDOWS 6898 # ifdef FEAT_WINDOWS
6899 if (win_split(0, 0) == FAIL) 6899 if (win_split(0, 0) == FAIL)
6900 return; 6900 return;
6901 # ifdef FEAT_SCROLLBIND 6901 RESET_BINDING(curwin);
6902 curwin->w_p_scb = FALSE;
6903 # endif
6904 6902
6905 /* When splitting the window, create a new alist. Otherwise the 6903 /* When splitting the window, create a new alist. Otherwise the
6906 * existing one is overwritten. */ 6904 * existing one is overwritten. */
6907 alist_unlink(curwin->w_alist); 6905 alist_unlink(curwin->w_alist);
6908 alist_new(); 6906 alist_new();
7298 if (*eap->arg != NUL 7296 if (*eap->arg != NUL
7299 # ifdef FEAT_BROWSE 7297 # ifdef FEAT_BROWSE
7300 || cmdmod.browse 7298 || cmdmod.browse
7301 # endif 7299 # endif
7302 ) 7300 )
7303 curwin->w_p_scb = FALSE; 7301 {
7302 RESET_BINDING(curwin);
7303 }
7304 else 7304 else
7305 do_check_scrollbind(FALSE); 7305 do_check_scrollbind(FALSE);
7306 # endif 7306 # endif
7307 do_exedit(eap, old_curwin); 7307 do_exedit(eap, old_curwin);
7308 } 7308 }