diff options
author | Bram Moolenaar <Bram@vim.org> | 2006-01-20 23:02:51 +0000 |
---|---|---|
committer | Bram Moolenaar <Bram@vim.org> | 2006-01-20 23:02:51 +0000 |
commit | 2d3f489e09a1cc50f5b7601eff568a4eb87fbd51 (patch) | |
tree | a29e0aabb8e2ee8bba220b843d536dca3fdf2100 /src/buffer.c | |
parent | 8ada17c4d9d783b370d081c2a947ea1350cc8338 (diff) | |
download | vim-git-2d3f489e09a1cc50f5b7601eff568a4eb87fbd51.tar.gz |
updated for version 7.0183
Diffstat (limited to 'src/buffer.c')
-rw-r--r-- | src/buffer.c | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/src/buffer.c b/src/buffer.c index 677215d2d..83c96903f 100644 --- a/src/buffer.c +++ b/src/buffer.c @@ -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; |