# HG changeset patch # User Bram Moolenaar # Date 1403692006 -7200 # Node ID 0206ac84ff5fdce6d893c470e0909d2aed547a24 # Parent 05eac8f76d77f4100f7c76c191aa85321595716d 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. diff --git a/src/ex_getln.c b/src/ex_getln.c --- a/src/ex_getln.c +++ b/src/ex_getln.c @@ -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. */ diff --git a/src/version.c b/src/version.c --- a/src/version.c +++ b/src/version.c @@ -735,6 +735,8 @@ static char *(features[]) = static int included_patches[] = { /* Add new patch number below this line */ /**/ + 337, +/**/ 336, /**/ 335,