about summary refs log tree commit diff
diff options
context:
space:
mode:
authorPeter Stephenson <pws@users.sourceforge.net>2003-08-05 10:12:08 +0000
committerPeter Stephenson <pws@users.sourceforge.net>2003-08-05 10:12:08 +0000
commit1f8c031467c398419b758f3d3be38d1ace2aa204 (patch)
tree3956c2662df24d2a27d19109d59cddfe07ad7d96
parentc2ed9f96a7772bde53662e668dd3e1876f39a293 (diff)
downloadzsh-1f8c031467c398419b758f3d3be38d1ace2aa204.tar.gz
zsh-1f8c031467c398419b758f3d3be38d1ace2aa204.tar.xz
zsh-1f8c031467c398419b758f3d3be38d1ace2aa204.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 9b2aca80f..fad20b510 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-01  Peter Stephenson  <pws@csr.com>
 
 	* 18920: Src/utils.c, Completion/Core/Base/_main_complete: update
diff --git a/Src/Zle/complist.c b/Src/Zle/complist.c
index ee68a6726..b260bfd7d 100644
--- a/Src/Zle/complist.c
+++ b/Src/Zle/complist.c
@@ -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;