updated for version 7.0183
diff --git a/src/window.c b/src/window.c
index 680c320..a021805 100644
--- a/src/window.c
+++ b/src/window.c
@@ -2717,10 +2717,10 @@
win_goto(wp)
win_T *wp;
{
- if (editing_cmdline())
+ if (text_locked())
{
beep_flush();
- editing_cmdline_msg();
+ text_locked_msg();
return;
}
@@ -4638,7 +4638,8 @@
char_u *res;
set_vim_var_string(VV_FNAME, ptr, len);
- res = eval_to_string_safe(curbuf->b_p_inex, NULL);
+ res = eval_to_string_safe(curbuf->b_p_inex, NULL,
+ was_set_insecurely((char_u *)"includeexpr"));
set_vim_var_string(VV_FNAME, NULL, 0);
return res;
}