patch 8.2.4911: the mode #defines are not clearly named
Problem: The mode #defines are not clearly named.
Solution: Prepend MODE_. Renumber them to put the mapped modes first.
diff --git a/src/evalfunc.c b/src/evalfunc.c
index 219751b..667d4f3 100644
--- a/src/evalfunc.c
+++ b/src/evalfunc.c
@@ -10452,7 +10452,7 @@
f_wildmenumode(typval_T *argvars UNUSED, typval_T *rettv UNUSED)
{
#ifdef FEAT_WILDMENU
- if (wild_menu_showing || ((State & CMDLINE) && cmdline_pum_active()))
+ if (wild_menu_showing || ((State & MODE_CMDLINE) && cmdline_pum_active()))
rettv->vval.v_number = 1;
#endif
}