]> granicus.if.org Git - vim/commitdiff
updated for version 7.3.984 v7.3.984
authorBram Moolenaar <Bram@vim.org>
Tue, 21 May 2013 10:46:02 +0000 (12:46 +0200)
committerBram Moolenaar <Bram@vim.org>
Tue, 21 May 2013 10:46:02 +0000 (12:46 +0200)
Problem:    A Visual mapping that uses CTRL-G works differently when started
            from Insert mode. (Ein Brown)
Solution:   Reset old_mapped_len when handling typed text in Select mode.

src/normal.c
src/version.c

index 339b7205f75eb3000a10b3a88f2d1a4839d99d01..b16ac8725bd8a1e104f464e839e591b1d23164f0 100644 (file)
@@ -701,6 +701,7 @@ normal_cmd(oap, toplevel)
        else
            c = 'c';
        msg_nowait = TRUE;      /* don't delay going to insert mode */
+       old_mapped_len = 0;     /* do go to Insert mode */
     }
 #endif
 
index 2e685dcc58db78d3aa5c434761a42b152aa6ffda..52d9e71914e1bcd0c49ddeac6416335d2f846684 100644 (file)
@@ -728,6 +728,8 @@ static char *(features[]) =
 
 static int included_patches[] =
 {   /* Add new patch number below this line */
+/**/
+    984,
 /**/
     983,
 /**/