1
0
mirror of git://git.code.sf.net/p/zsh/code synced 2024-11-19 13:33:52 +01:00

18926: problem accepting filename require metafication with menu selection

This commit is contained in:
Peter Stephenson 2003-08-05 10:12:08 +00:00
parent c2ed9f96a7
commit 1f8c031467
2 changed files with 10 additions and 0 deletions

@ -1,3 +1,9 @@
2003-08-05 Peter Stephenson <pws@csr.com>
* 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-01 Peter Stephenson <pws@csr.com>
* 18920: Src/utils.c, Completion/Core/Base/_main_complete: update

@ -2801,7 +2801,9 @@ domenuselect(Hookdef dummy, Chdata dat)
acc = 1;
break;
}
metafy_line();
do_single(**p);
unmetafy_line();
mselect = (**p)->gnum;
}
if (u)
@ -2817,7 +2819,9 @@ domenuselect(Hookdef dummy, Chdata dat)
clearlist = listshown = 1;
if (acc && validlist && minfo.cur) {
menucmp = lastambig = hasoldlist = 0;
metafy_line();
do_single(*(minfo.cur));
unmetafy_line();
}
if (wasnext || broken) {
menucmp = 2;