0
0
mirror of https://github.com/vim/vim.git synced 2025-09-23 03:43:49 -04:00

updated for version 7.1-004

This commit is contained in:
Bram Moolenaar
2007-06-19 09:51:25 +00:00
parent 2d8ab99d10
commit b1269f1184
2 changed files with 5 additions and 3 deletions

View File

@@ -3367,7 +3367,7 @@ do_ecmd(fnum, ffname, sfname, eap, newlnum, flags)
* was in this window (or another window). If not used * was in this window (or another window). If not used
* before, reset the local window options to the global * before, reset the local window options to the global
* values. Also restores old folding stuff. */ * values. Also restores old folding stuff. */
get_winopts(buf); get_winopts(curbuf);
#ifdef FEAT_SPELL #ifdef FEAT_SPELL
did_get_winopts = TRUE; did_get_winopts = TRUE;
#endif #endif
@@ -3649,8 +3649,8 @@ do_ecmd(fnum, ffname, sfname, eap, newlnum, flags)
#ifdef FEAT_SPELL #ifdef FEAT_SPELL
/* If the window options were changed may need to set the spell language. /* If the window options were changed may need to set the spell language.
* Can only do this after the buffer has been properly setup. */ * Can only do this after the buffer has been properly setup. */
if (did_get_winopts && curwin->w_p_spell && *buf->b_p_spl != NUL) if (did_get_winopts && curwin->w_p_spell && *curbuf->b_p_spl != NUL)
did_set_spelllang(buf); did_set_spelllang(curbuf);
#endif #endif
if (command == NULL) if (command == NULL)

View File

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