From: Bram Moolenaar Date: Wed, 13 Feb 2008 17:36:06 +0000 (+0000) Subject: updated for version 7.1-250 X-Git-Tag: v7.1.250 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=f2f70252d1d232e85008852a5331351ed0426b49;p=vim updated for version 7.1-250 --- diff --git a/src/option.c b/src/option.c index 6ff0a218a..1d2f2aaf7 100644 --- a/src/option.c +++ b/src/option.c @@ -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 diff --git a/src/version.c b/src/version.c index 3d222f2a3..979bb4012 100644 --- a/src/version.c +++ b/src/version.c @@ -666,6 +666,8 @@ static char *(features[]) = static int included_patches[] = { /* Add new patch number below this line */ +/**/ + 250, /**/ 249, /**/