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

@@ -1806,9 +1806,9 @@ buflist_getfile(n, lnum, options, forceit)
if (buf == curbuf)
return OK;
if (editing_cmdline())
if (text_locked())
{
editing_cmdline_msg();
text_locked_msg();
return FAIL;
}
@@ -3506,7 +3506,8 @@ build_stl_str_hl(wp, out, outlen, fmt, fillchar, maxwidth, hl)
curwin = wp;
curbuf = wp->w_buffer;
str = eval_to_string_safe(p, &t);
str = eval_to_string_safe(p, &t,
was_set_insecurely((char_u *)"statusline"));
curwin = o_curwin;
curbuf = o_curbuf;