From 2976578cc5360dd7d8945f54254b077d80ff03cf Mon Sep 17 00:00:00 2001 From: Peter Stephenson Date: Wed, 6 Aug 2003 09:56:18 +0000 Subject: [PATCH] 18926: problem accepting filename require metafication with menu selection --- ChangeLog | 6 ++++++ Src/Zle/complist.c | 4 ++++ 2 files changed, 10 insertions(+) diff --git a/ChangeLog b/ChangeLog index 4b3297743..e57dba83b 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,9 @@ +2003-08-05 Peter Stephenson + + * 18926: Src/Zle/complist.c: fix (without knowing how) insertion + of file names requiring metafication into the command line on + a successful menu selection. + 2003-08-06 Oliver Kiddle * unposted: Completion/Unix/Command/_texinfo: remove usage of 4.1 diff --git a/Src/Zle/complist.c b/Src/Zle/complist.c index fe902378e..bf4777927 100644 --- a/Src/Zle/complist.c +++ b/Src/Zle/complist.c @@ -2283,7 +2283,9 @@ domenuselect(Hookdef dummy, Chdata dat) acc = 1; break; } + metafy_line(); do_single(**p); + unmetafy_line(); mselect = (**p)->gnum; } if (u) @@ -2297,7 +2299,9 @@ domenuselect(Hookdef dummy, Chdata dat) inselect = mhasstat = 0; if (acc) { menucmp = lastambig = hasoldlist = 0; + metafy_line(); do_single(*(minfo.cur)); + unmetafy_line(); } if (wasnext || broken) { menucmp = 2;