summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBram Moolenaar <Bram@vim.org>2013-05-21 12:46:02 +0200
committerBram Moolenaar <Bram@vim.org>2013-05-21 12:46:02 +0200
commit9bad29decfea3477a60780926d573b801ceabe51 (patch)
tree426e09e86973a9257a5ea194234247ed23048e0d
parent080504921d9a513261a9d60b5b2868aea1e21eb1 (diff)
updated for version 7.3.984v7.3.984
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.
-rw-r--r--src/normal.c1
-rw-r--r--src/version.c2
2 files changed, 3 insertions, 0 deletions
diff --git a/src/normal.c b/src/normal.c
index 339b7205f7..b16ac8725b 100644
--- a/src/normal.c
+++ b/src/normal.c
@@ -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
diff --git a/src/version.c b/src/version.c
index 2e685dcc58..52d9e71914 100644
--- a/src/version.c
+++ b/src/version.c
@@ -729,6 +729,8 @@ static char *(features[]) =
static int included_patches[] =
{ /* Add new patch number below this line */
/**/
+ 984,
+/**/
983,
/**/
982,