diff options
author | Bram Moolenaar <Bram@vim.org> | 2019-06-01 14:15:52 +0200 |
---|---|---|
committer | Bram Moolenaar <Bram@vim.org> | 2019-06-01 14:15:52 +0200 |
commit | 815b76bff618c07226653e11f29c4d3c5640b63a (patch) | |
tree | fbe1ffe3d0c5d15914bf9e7aaee5bc007e9390ab /src/ex_cmds2.c | |
parent | 3a97bb3f0f8bd118ae23f1c97e55d84ff42eef20 (diff) | |
download | vim-git-815b76bff618c07226653e11f29c4d3c5640b63a.tar.gz |
patch 8.1.1438: some commands cause trouble in a popup windowv8.1.1438
Problem: Some commands cause trouble in a popup window.
Solution: Add NOT_IN_POPUP_WINDOW.
Diffstat (limited to 'src/ex_cmds2.c')
-rw-r--r-- | src/ex_cmds2.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/ex_cmds2.c b/src/ex_cmds2.c index 5a33bb128..66e5fca12 100644 --- a/src/ex_cmds2.c +++ b/src/ex_cmds2.c @@ -1864,6 +1864,8 @@ do_argfile(exarg_T *eap, int argn) char_u *p; int old_arg_idx = curwin->w_arg_idx; + if (NOT_IN_POPUP_WINDOW) + return; if (argn < 0 || argn >= ARGCOUNT) { if (ARGCOUNT <= 1) |