vim-patch:7.4.441

Problem:    Endless loop and other problems when 'cedit' is set to CTRL-C.
Solution:   Do not call ex_window() when ex_normal_busy or got_int was set.
	    (Yasuhiro Matsumoto)

https://code.google.com/p/vim/source/detail?r=v7-4-441
This commit is contained in:
Florian Walch 2014-12-23 11:20:55 +01:00
parent 2fefb5e7d3
commit 2b9f11ac64
2 changed files with 8 additions and 6 deletions

View File

@ -627,11 +627,13 @@ getcmdline (
} }
if (c == cedit_key || c == K_CMDWIN) { if (c == cedit_key || c == K_CMDWIN) {
/* if (ex_normal_busy == 0 && got_int == FALSE) {
* Open a window to edit the command line (and history). /*
*/ * Open a window to edit the command line (and history).
c = ex_window(); */
some_key_typed = TRUE; c = ex_window();
some_key_typed = TRUE;
}
} else } else
c = do_digraph(c); c = do_digraph(c);

View File

@ -296,7 +296,7 @@ static int included_patches[] = {
444, 444,
//443, //443,
442, 442,
//441, 441,
440, 440,
439, 439,
//438, //438,