comparison src/arglist.c @ 19271:ebeeb4b4a1fa v8.2.0194

patch 8.2.0194: some commands can cause problems in terminal popup Commit: https://github.com/vim/vim/commit/3c01c4a02897163996639f6f2604c68eab2bd18b Author: Bram Moolenaar <Bram@vim.org> Date: Sat Feb 1 23:04:24 2020 +0100 patch 8.2.0194: some commands can cause problems in terminal popup Problem: Some commands can cause problems in terminal popup. Solution: Disallow more commands.
author Bram Moolenaar <Bram@vim.org>
date Sat, 01 Feb 2020 23:15:03 +0100
parents 0b337617877e
children 435726a03481
comparison
equal deleted inserted replaced
19270:6eca0794f137 19271:ebeeb4b4a1fa
636 { 636 {
637 int other; 637 int other;
638 char_u *p; 638 char_u *p;
639 int old_arg_idx = curwin->w_arg_idx; 639 int old_arg_idx = curwin->w_arg_idx;
640 640
641 if (ERROR_IF_POPUP_WINDOW) 641 if (ERROR_IF_ANY_POPUP_WINDOW)
642 return; 642 return;
643 if (argn < 0 || argn >= ARGCOUNT) 643 if (argn < 0 || argn >= ARGCOUNT)
644 { 644 {
645 if (ARGCOUNT <= 1) 645 if (ARGCOUNT <= 1)
646 emsg(_("E163: There is only one file to edit")); 646 emsg(_("E163: There is only one file to edit"));