Mercurial > vim
diff src/option.c @ 320:bb9041b0ad81
updated for version 7.0083
author | vimboss |
---|---|
date | Wed, 08 Jun 2005 22:05:14 +0000 |
parents | 529f887b5cb7 |
children | 03b3684919e3 |
line wrap: on
line diff
--- a/src/option.c +++ b/src/option.c @@ -3048,7 +3048,7 @@ set_option_default(opt_idx, opt_flags, c 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, op if (curwin->w_p_spell) { char_u *errmsg = did_set_spelllang(curbuf); + if (errmsg != NULL) EMSG(_(errmsg)); }