1
0
forked from aniani/vim

updated for version 7.0083

This commit is contained in:
Bram Moolenaar
2005-06-08 22:05:14 +00:00
parent f3681cc330
commit 3638c6876d
3 changed files with 95 additions and 27 deletions

View File

@@ -3048,7 +3048,7 @@ set_option_default(opt_idx, opt_flags, compatible)
varp = get_varp_scope(&(options[opt_idx]), both ? OPT_LOCAL : opt_flags);
flags = options[opt_idx].flags;
if (varp != NULL) /* nothing to do for hidden option */
if (varp != NULL) /* skip hidden option, nothing to do for it */
{
dvi = ((flags & P_VI_DEF) || compatible) ? VI_DEFAULT : VIM_DEFAULT;
if (flags & P_STRING)
@@ -6678,6 +6678,7 @@ set_bool_option(opt_idx, varp, value, opt_flags)
if (curwin->w_p_spell)
{
char_u *errmsg = did_set_spelllang(curbuf);
if (errmsg != NULL)
EMSG(_(errmsg));
}