Problem: Opening cmdline window with feedkeys() does not work. (Yegappan
Lakshmanan)
Solution: Recognize K_CMDWIN also when ex_normal_busy is set.
#ifdef FEAT_CMDWIN
if (c == cedit_key || c == K_CMDWIN)
{
- if (ex_normal_busy == 0 && got_int == FALSE)
+ // TODO: why is ex_normal_busy checked here?
+ if ((c == K_CMDWIN || ex_normal_busy == 0) && got_int == FALSE)
{
/*
* Open a window to edit the command line (and history).
bwipeout bufb
bwipeout bufc
endfunc
+
+func Test_cmdwin_feedkeys()
+ " This should not generate E488
+ call feedkeys("q:\<CR>", 'x')
+endfunc
static int included_patches[] =
{ /* Add new patch number below this line */
+/**/
+ 2385,
/**/
2384,
/**/