updated for version 7.0083
diff --git a/src/option.c b/src/option.c
index 1211ce7..14f8ade 100644
--- a/src/option.c
+++ b/src/option.c
@@ -3048,7 +3048,7 @@
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 @@
if (curwin->w_p_spell)
{
char_u *errmsg = did_set_spelllang(curbuf);
+
if (errmsg != NULL)
EMSG(_(errmsg));
}