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

updated for version 7.1a-001

This commit is contained in:
Bram Moolenaar
2007-05-06 21:55:31 +00:00
parent a022bb3567
commit 706cdebcf8
5 changed files with 98 additions and 17 deletions

View File

@@ -1426,6 +1426,13 @@ enter_buffer(buf)
if (curbuf->b_kmap_state & KEYMAP_INIT)
keymap_init();
#endif
#ifdef FEAT_SPELL
/* May need to set the spell language. Can only do this after the buffer
* has been properly setup. */
if (!curbuf->b_help && curwin->w_p_spell && *curbuf->b_p_spl != NUL)
did_set_spelllang(curbuf);
#endif
redraw_later(NOT_VALID);
}
@@ -2415,11 +2422,6 @@ get_winopts(buf)
if (p_fdls >= 0)
curwin->w_p_fdl = p_fdls;
#endif
#ifdef FEAT_SPELL
if (curwin->w_p_spell && *buf->b_p_spl != NUL)
did_set_spelllang(buf);
#endif
}
/*