# HG changeset patch # User Bram Moolenaar # Date 1369133162 -7200 # Node ID 94c5441984cc47971ac49435d184c13cd6d3014b # Parent b62288857e8e99c465c2c61021da2f034823d292 updated for version 7.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. diff --git a/src/normal.c b/src/normal.c --- 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 --- 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,