patch 9.0.0236: popup menu not removed when 'wildmenu' reset while visible
Problem: Popup menu not removed when 'wildmenu' reset while it is visible.
Solution: Do not check p_wmnu, only pum_visible(). (closes #10953)
diff --git a/src/cmdexpand.c b/src/cmdexpand.c
index fb329a5..cdf8395 100644
--- a/src/cmdexpand.c
+++ b/src/cmdexpand.c
@@ -367,7 +367,7 @@
*/
int cmdline_pum_active(void)
{
- return p_wmnu && pum_visible() && compl_match_array != NULL;
+ return pum_visible() && compl_match_array != NULL;
}
/*