mirror of
https://github.com/vim/vim.git
synced 2025-09-25 03:54:15 -04:00
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().
This commit is contained in:
@@ -1336,7 +1336,7 @@ f_popup_getoptions(typval_T *argvars, typval_T *rettv)
|
||||
}
|
||||
|
||||
int
|
||||
not_in_popup_window()
|
||||
error_if_popup_window()
|
||||
{
|
||||
if (bt_popup(curwin->w_buffer))
|
||||
{
|
||||
|
Reference in New Issue
Block a user