summaryrefslogtreecommitdiff
path: root/src/buffer.c
diff options
context:
space:
mode:
authorBram Moolenaar <Bram@vim.org>2006-01-19 22:09:32 +0000
committerBram Moolenaar <Bram@vim.org>2006-01-19 22:09:32 +0000
commit05a7bb363b6ae132b7f2550be1a588e481a5dfa3 (patch)
tree97c44382074f466a7c5a3c31f8debe0127473ade /src/buffer.c
parentc32840f2674d4c6b06cfac8ec32791b5451bf31c (diff)
downloadvim-git-05a7bb363b6ae132b7f2550be1a588e481a5dfa3.tar.gz
updated for version 7.0182
Diffstat (limited to 'src/buffer.c')
-rw-r--r--src/buffer.c7
1 files changed, 4 insertions, 3 deletions
diff --git a/src/buffer.c b/src/buffer.c
index 119011791..677215d2d 100644
--- a/src/buffer.c
+++ b/src/buffer.c
@@ -1806,10 +1806,11 @@ buflist_getfile(n, lnum, options, forceit)
if (buf == curbuf)
return OK;
-#ifdef FEAT_CMDWIN
- if (cmdwin_type != 0)
+ if (editing_cmdline())
+ {
+ editing_cmdline_msg();
return FAIL;
-#endif
+ }
/* altfpos may be changed by getfile(), get it now */
if (lnum == 0)