mirror of
https://github.com/vim/vim.git
synced 2025-09-26 04:04:07 -04:00
patch 8.2.1237: changing 'completepopup' after opening popup has no effect
Problem: Changing 'completepopup' after opening a popup has no effect. (Jay Sitter) Solution: Close the popup when the options are changed. (closes #6471)
This commit is contained in:
@@ -4031,6 +4031,18 @@ popup_hide_info(void)
|
||||
if (wp != NULL)
|
||||
popup_hide(wp);
|
||||
}
|
||||
|
||||
/*
|
||||
* Close any info popup.
|
||||
*/
|
||||
void
|
||||
popup_close_info(void)
|
||||
{
|
||||
win_T *wp = popup_find_info_window();
|
||||
|
||||
if (wp != NULL)
|
||||
popup_close_with_retval(wp, -1);
|
||||
}
|
||||
#endif
|
||||
|
||||
/*
|
||||
|
Reference in New Issue
Block a user