summaryrefslogtreecommitdiff
path: root/src/popupwin.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/popupwin.c')
-rw-r--r--src/popupwin.c12
1 files changed, 12 insertions, 0 deletions
diff --git a/src/popupwin.c b/src/popupwin.c
index 296441b11..b0b4737c7 100644
--- a/src/popupwin.c
+++ b/src/popupwin.c
@@ -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
/*