0
0
mirror of https://github.com/vim/vim.git synced 2025-10-01 04:54:07 -04:00

updated for version 7.1-250

This commit is contained in:
Bram Moolenaar
2008-02-13 17:36:06 +00:00
parent e3300c8887
commit f2f70252d1
2 changed files with 3 additions and 1 deletions

View File

@@ -5671,7 +5671,7 @@ did_set_string_option(opt_idx, varp, new_value_alloced, oldval, errbuf,
{
if (gvarp == &p_fenc)
{
if (!curbuf->b_p_ma)
if (!curbuf->b_p_ma && opt_flags != OPT_GLOBAL)
errmsg = e_modifiable;
else if (vim_strchr(*varp, ',') != NULL)
/* No comma allowed in 'fileencoding'; catches confusing it

View File

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