comparison src/ex_cmds2.c @ 17111:af861fccc309 v8.1.1555

patch 8.1.1555: NOT_IN_POPUP_WINDOW is confusing commit https://github.com/vim/vim/commit/8cdbd5b3c4225b04536dea7523718695306b16b5 Author: Bram Moolenaar <Bram@vim.org> Date: Sun Jun 16 15:50:45 2019 +0200 patch 8.1.1555: NOT_IN_POPUP_WINDOW is confusing Problem: NOT_IN_POPUP_WINDOW is confusing. (Andy Massimino) Solution: Rename to ERROR_IF_POPUP_WINDOW().
author Bram Moolenaar <Bram@vim.org>
date Sun, 16 Jun 2019 16:00:04 +0200
parents d5e1e09a829f
children ebe9aab81898
comparison
equal deleted inserted replaced
17110:c8fde910ac10 17111:af861fccc309
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) 1867 if (ERROR_IF_POPUP_WINDOW)
1868 return; 1868 return;
1869 if (argn < 0 || argn >= ARGCOUNT) 1869 if (argn < 0 || argn >= ARGCOUNT)
1870 { 1870 {
1871 if (ARGCOUNT <= 1) 1871 if (ARGCOUNT <= 1)
1872 emsg(_("E163: There is only one file to edit")); 1872 emsg(_("E163: There is only one file to edit"));