Karsten Hopp 55094c
To: vim_dev@googlegroups.com
Karsten Hopp 55094c
Subject: Patch 7.4.337
Karsten Hopp 55094c
Fcc: outbox
Karsten Hopp 55094c
From: Bram Moolenaar <Bram@moolenaar.net>
Karsten Hopp 55094c
Mime-Version: 1.0
Karsten Hopp 55094c
Content-Type: text/plain; charset=UTF-8
Karsten Hopp 55094c
Content-Transfer-Encoding: 8bit
Karsten Hopp 55094c
------------
Karsten Hopp 55094c
Karsten Hopp 55094c
Patch 7.4.337
Karsten Hopp 55094c
Problem:    When there is an error preparing to edit the command line, the
Karsten Hopp 55094c
	    command won't be executed. (Hirohito Higashi)
Karsten Hopp 55094c
Solution:   Reset did_emsg before editing.
Karsten Hopp 55094c
Files:	    src/ex_getln.c
Karsten Hopp 55094c
Karsten Hopp 55094c
Karsten Hopp 55094c
*** ../vim-7.4.336/src/ex_getln.c	2014-06-12 19:44:45.324549030 +0200
Karsten Hopp 55094c
--- src/ex_getln.c	2014-06-25 12:06:38.018001402 +0200
Karsten Hopp 55094c
***************
Karsten Hopp 55094c
*** 342,347 ****
Karsten Hopp 55094c
--- 342,354 ----
Karsten Hopp 55094c
      do_digraph(-1);		/* init digraph typeahead */
Karsten Hopp 55094c
  #endif
Karsten Hopp 55094c
  
Karsten Hopp 55094c
+     /* If something above caused an error, reset the flags, we do want to type
Karsten Hopp 55094c
+      * and execute commands. Display may be messed up a bit. */
Karsten Hopp 55094c
+     if (did_emsg)
Karsten Hopp 55094c
+ 	redrawcmd();
Karsten Hopp 55094c
+     did_emsg = FALSE;
Karsten Hopp 55094c
+     got_int = FALSE;
Karsten Hopp 55094c
+ 
Karsten Hopp 55094c
      /*
Karsten Hopp 55094c
       * Collect the command string, handling editing keys.
Karsten Hopp 55094c
       */
Karsten Hopp 55094c
*** ../vim-7.4.336/src/version.c	2014-06-25 11:48:40.733960646 +0200
Karsten Hopp 55094c
--- src/version.c	2014-06-25 12:24:39.442042313 +0200
Karsten Hopp 55094c
***************
Karsten Hopp 55094c
*** 736,737 ****
Karsten Hopp 55094c
--- 736,739 ----
Karsten Hopp 55094c
  {   /* Add new patch number below this line */
Karsten Hopp 55094c
+ /**/
Karsten Hopp 55094c
+     337,
Karsten Hopp 55094c
  /**/
Karsten Hopp 55094c
Karsten Hopp 55094c
-- 
Karsten Hopp 55094c
Computers are not intelligent.  They only think they are.
Karsten Hopp 55094c
Karsten Hopp 55094c
 /// Bram Moolenaar -- Bram@Moolenaar.net -- http://www.Moolenaar.net   \\\
Karsten Hopp 55094c
///        sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\
Karsten Hopp 55094c
\\\  an exciting new programming language -- http://www.Zimbu.org        ///
Karsten Hopp 55094c
 \\\            help me help AIDS victims -- http://ICCF-Holland.org    ///