# HG changeset patch # User Bram Moolenaar # Date 1323366291 -3600 # Node ID 6ff80dd02b51e9bd6d3c1b0167b81e295b0b4881 # Parent 7d79dd9941da1d1a22f2e386cabc68845b0fd589 updated for version 7.3.372 Problem: When using a command line mapping to with file name completion to go one directory up, 'wildchar' is inserted. (Yasuhiro Matsumoto) Solution: Set the KeyTyped flag. diff --git a/src/ex_getln.c b/src/ex_getln.c --- 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 --- 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,