0
0
mirror of https://github.com/vim/vim.git synced 2025-09-23 03:43:49 -04:00

updated for version 7.0183

This commit is contained in:
Bram Moolenaar
2006-01-20 23:02:51 +00:00
parent 8ada17c4d9
commit 2d3f489e09
10 changed files with 129 additions and 54 deletions

View File

@@ -2717,10 +2717,10 @@ win_alloc_first()
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 @@ eval_includeexpr(ptr, len)
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;
}