summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorBram Moolenaar <bram@vim.org>2011-12-08 18:44:51 +0100
committerBram Moolenaar <bram@vim.org>2011-12-08 18:44:51 +0100
commitbd72a9035edd9589934051caf14252ba1978236f (patch)
treef5660cf0698f7a283609d365f5e63279e7605302 /src
parent597ef6f7471b7e35f6bc268ffa53b691f664aabc (diff)
downloadvim-bd72a9035edd9589934051caf14252ba1978236f.tar.gz
updated for version 7.3.372v7.3.372v7-3-372
Problem: When using a command line mapping to <Up> with file name completion to go one directory up, 'wildchar' is inserted. (Yasuhiro Matsumoto) Solution: Set the KeyTyped flag.
Diffstat (limited to 'src')
-rw-r--r--src/ex_getln.c4
-rw-r--r--src/version.c2
2 files changed, 6 insertions, 0 deletions
diff --git a/src/ex_getln.c b/src/ex_getln.c
index bf4999b4..97f8305a 100644
--- a/src/ex_getln.c
+++ b/src/ex_getln.c
@@ -645,7 +645,11 @@ getcmdline(firstc, count, indent)
}
else if (ccline.cmdpos > i)
cmdline_del(i);
+
+ /* Now complete in the new directory. Set KeyTyped in case the
+ * Up key came from a mapping. */
c = p_wc;
+ KeyTyped = TRUE;
}
}
diff --git a/src/version.c b/src/version.c
index 767103b9..e2f60f61 100644
--- a/src/version.c
+++ b/src/version.c
@@ -715,6 +715,8 @@ static char *(features[]) =
static int included_patches[] =
{ /* Add new patch number below this line */
/**/
+ 372,
+/**/
371,
/**/
370,