1
0
forked from aniani/vim

updated for version 7.4.337

Problem:    When there is an error preparing to edit the command line, the
            command won't be executed. (Hirohito Higashi)
Solution:   Reset did_emsg before editing.
This commit is contained in:
Bram Moolenaar
2014-06-25 12:26:46 +02:00
parent 78159bbf9e
commit 15a35c4f4a
2 changed files with 9 additions and 0 deletions

View File

@@ -342,6 +342,13 @@ getcmdline(firstc, count, indent)
do_digraph(-1); /* init digraph typeahead */
#endif
/* If something above caused an error, reset the flags, we do want to type
* and execute commands. Display may be messed up a bit. */
if (did_emsg)
redrawcmd();
did_emsg = FALSE;
got_int = FALSE;
/*
* Collect the command string, handling editing keys.
*/