patch 8.1.1438: some commands cause trouble in a popup window

Problem:    Some commands cause trouble in a popup window.
Solution:   Add NOT_IN_POPUP_WINDOW.
This commit is contained in:
Bram Moolenaar
2019-06-01 14:15:52 +02:00
parent 3a97bb3f0f
commit 815b76bff6
8 changed files with 70 additions and 4 deletions

View File

@ -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)