diff options
author | Bram Moolenaar <Bram@vim.org> | 2019-06-16 15:50:45 +0200 |
---|---|---|
committer | Bram Moolenaar <Bram@vim.org> | 2019-06-16 15:50:45 +0200 |
commit | 8cdbd5b3c4225b04536dea7523718695306b16b5 (patch) | |
tree | d7cd76c65d4489a9c76ec848c358f0876cc0c71c /src/ex_docmd.c | |
parent | 1c196e7b1742c1a50ce0d74190721acaad087f81 (diff) |
patch 8.1.1555: NOT_IN_POPUP_WINDOW is confusingv8.1.1555
Problem: NOT_IN_POPUP_WINDOW is confusing. (Andy Massimino)
Solution: Rename to ERROR_IF_POPUP_WINDOW().
Diffstat (limited to 'src/ex_docmd.c')
-rw-r--r-- | src/ex_docmd.c | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/src/ex_docmd.c b/src/ex_docmd.c index 438cb355aa..d2a6681c6d 100644 --- a/src/ex_docmd.c +++ b/src/ex_docmd.c @@ -5454,7 +5454,7 @@ ex_doautocmd(exarg_T *eap) static void ex_bunload(exarg_T *eap) { - if (NOT_IN_POPUP_WINDOW) + if (ERROR_IF_POPUP_WINDOW) return; eap->errmsg = do_bufdel( eap->cmdidx == CMD_bdelete ? DOBUF_DEL @@ -5470,7 +5470,7 @@ ex_bunload(exarg_T *eap) static void ex_buffer(exarg_T *eap) { - if (NOT_IN_POPUP_WINDOW) + if (ERROR_IF_POPUP_WINDOW) return; if (*eap->arg) eap->errmsg = e_trailing; @@ -6774,7 +6774,7 @@ ex_splitview(exarg_T *eap) || eap->cmdidx == CMD_tabfind || eap->cmdidx == CMD_tabnew; - if (NOT_IN_POPUP_WINDOW) + if (ERROR_IF_POPUP_WINDOW) return; #ifdef FEAT_GUI @@ -6904,7 +6904,7 @@ ex_tabnext(exarg_T *eap) { int tab_number; - if (NOT_IN_POPUP_WINDOW) + if (ERROR_IF_POPUP_WINDOW) return; switch (eap->cmdidx) { @@ -7157,7 +7157,7 @@ do_exedit( int need_hide; int exmode_was = exmode_active; - if (NOT_IN_POPUP_WINDOW) + if (ERROR_IF_POPUP_WINDOW) return; /* * ":vi" command ends Ex mode. |