Mercurial > vim
comparison src/ex_getln.c @ 5993:0206ac84ff5f v7.4.337
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.
author | Bram Moolenaar <bram@vim.org> |
---|---|
date | Wed, 25 Jun 2014 12:26:46 +0200 |
parents | c476e0ac8b40 |
children | ef83b423ebf7 |
comparison
equal
deleted
inserted
replaced
5992:05eac8f76d77 | 5993:0206ac84ff5f |
---|---|
339 #endif | 339 #endif |
340 | 340 |
341 #ifdef FEAT_DIGRAPHS | 341 #ifdef FEAT_DIGRAPHS |
342 do_digraph(-1); /* init digraph typeahead */ | 342 do_digraph(-1); /* init digraph typeahead */ |
343 #endif | 343 #endif |
344 | |
345 /* If something above caused an error, reset the flags, we do want to type | |
346 * and execute commands. Display may be messed up a bit. */ | |
347 if (did_emsg) | |
348 redrawcmd(); | |
349 did_emsg = FALSE; | |
350 got_int = FALSE; | |
344 | 351 |
345 /* | 352 /* |
346 * Collect the command string, handling editing keys. | 353 * Collect the command string, handling editing keys. |
347 */ | 354 */ |
348 for (;;) | 355 for (;;) |