aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPeter Stephenson <pws@users.sourceforge.net>2003-08-06 09:56:18 +0000
committerPeter Stephenson <pws@users.sourceforge.net>2003-08-06 09:56:18 +0000
commit2976578cc5360dd7d8945f54254b077d80ff03cf (patch)
tree0459889478a12f5480fa0c844cb548185bcf7b7b
parentf50425e16bcf936bd0ca9857994a27b546001761 (diff)
downloadzsh-2976578cc5360dd7d8945f54254b077d80ff03cf.tar.gz
zsh-2976578cc5360dd7d8945f54254b077d80ff03cf.tar.xz
zsh-2976578cc5360dd7d8945f54254b077d80ff03cf.zip
18926: problem accepting filename require metafication with menu selection
-rw-r--r--ChangeLog6
-rw-r--r--Src/Zle/complist.c4
2 files changed, 10 insertions, 0 deletions
diff --git a/ChangeLog b/ChangeLog
index 4b3297743..e57dba83b 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -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-06 Oliver Kiddle <opk@zsh.org>
* 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;