comparison src/popupwin.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 0001d10a7661
children 7ef5283ace3c
comparison
equal deleted inserted replaced
17110:c8fde910ac10 17111:af861fccc309
1334 # endif 1334 # endif
1335 } 1335 }
1336 } 1336 }
1337 1337
1338 int 1338 int
1339 not_in_popup_window() 1339 error_if_popup_window()
1340 { 1340 {
1341 if (bt_popup(curwin->w_buffer)) 1341 if (bt_popup(curwin->w_buffer))
1342 { 1342 {
1343 emsg(_("E994: Not allowed in a popup window")); 1343 emsg(_("E994: Not allowed in a popup window"));
1344 return TRUE; 1344 return TRUE;