comparison src/ex_cmds2.c @ 16874:da5f5836e90c v8.1.1438

patch 8.1.1438: some commands cause trouble in a popup window commit https://github.com/vim/vim/commit/815b76bff618c07226653e11f29c4d3c5640b63a Author: Bram Moolenaar <Bram@vim.org> Date: Sat Jun 1 14:15:52 2019 +0200 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.
author Bram Moolenaar <Bram@vim.org>
date Sat, 01 Jun 2019 14:30:06 +0200
parents a836d122231a
children d5e1e09a829f
comparison
equal deleted inserted replaced
16873:1958b437e892 16874:da5f5836e90c
1862 { 1862 {
1863 int other; 1863 int other;
1864 char_u *p; 1864 char_u *p;
1865 int old_arg_idx = curwin->w_arg_idx; 1865 int old_arg_idx = curwin->w_arg_idx;
1866 1866
1867 if (NOT_IN_POPUP_WINDOW)
1868 return;
1867 if (argn < 0 || argn >= ARGCOUNT) 1869 if (argn < 0 || argn >= ARGCOUNT)
1868 { 1870 {
1869 if (ARGCOUNT <= 1) 1871 if (ARGCOUNT <= 1)
1870 emsg(_("E163: There is only one file to edit")); 1872 emsg(_("E163: There is only one file to edit"));
1871 else if (argn < 0) 1873 else if (argn < 0)