Mercurial > vim
comparison src/ex_getln.c @ 6211:e754b23b7d1c v7.4.441
updated for version 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)
author | Bram Moolenaar <bram@vim.org> |
---|---|
date | Tue, 09 Sep 2014 18:45:49 +0200 |
parents | 2fd550c75256 |
children | de877dab1c31 |
comparison
equal
deleted
inserted
replaced
6210:8775ed3b57d7 | 6211:e754b23b7d1c |
---|---|
757 } | 757 } |
758 | 758 |
759 #ifdef FEAT_CMDWIN | 759 #ifdef FEAT_CMDWIN |
760 if (c == cedit_key || c == K_CMDWIN) | 760 if (c == cedit_key || c == K_CMDWIN) |
761 { | 761 { |
762 /* | 762 if (ex_normal_busy == 0 && got_int == FALSE) |
763 * Open a window to edit the command line (and history). | 763 { |
764 */ | 764 /* |
765 c = ex_window(); | 765 * Open a window to edit the command line (and history). |
766 some_key_typed = TRUE; | 766 */ |
767 c = ex_window(); | |
768 some_key_typed = TRUE; | |
769 } | |
767 } | 770 } |
768 # ifdef FEAT_DIGRAPHS | 771 # ifdef FEAT_DIGRAPHS |
769 else | 772 else |
770 # endif | 773 # endif |
771 #endif | 774 #endif |