about summary refs log tree commit diff
path: root/Src/Zle/complist.c
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 /Src/Zle/complist.c
parentc2ed9f96a7772bde53662e668dd3e1876f39a293 (diff)
downloadzsh-1f8c031467c398419b758f3d3be38d1ace2aa204.tar.gz
zsh-1f8c031467c398419b758f3d3be38d1ace2aa204.tar.xz
zsh-1f8c031467c398419b758f3d3be38d1ace2aa204.zip
18926: problem accepting filename require metafication with menu selection
Diffstat (limited to 'Src/Zle/complist.c')
-rw-r--r--Src/Zle/complist.c4
1 files changed, 4 insertions, 0 deletions
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;