about summary refs log tree commit diff
path: root/Src/Zle/compresult.c
diff options
context:
space:
mode:
authorSven Wischnowsky <wischnow@users.sourceforge.net>2000-04-12 09:12:15 +0000
committerSven Wischnowsky <wischnow@users.sourceforge.net>2000-04-12 09:12:15 +0000
commit5ac242f44924ab4f165326fba5f4d6bf8af29626 (patch)
tree96f76b7c669bf9f1acdb09a53a78f35d023e6258 /Src/Zle/compresult.c
parent5de80f85b458fbec49851a95f4d154e4f08fcbb0 (diff)
downloadzsh-5ac242f44924ab4f165326fba5f4d6bf8af29626.tar.gz
zsh-5ac242f44924ab4f165326fba5f4d6bf8af29626.tar.xz
zsh-5ac242f44924ab4f165326fba5f4d6bf8af29626.zip
comment out the code to allow $compstate[insert] to select the group (10690)
Diffstat (limited to 'Src/Zle/compresult.c')
-rw-r--r--Src/Zle/compresult.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/Src/Zle/compresult.c b/Src/Zle/compresult.c
index 78b22ff59..3322c3157 100644
--- a/Src/Zle/compresult.c
+++ b/Src/Zle/compresult.c
@@ -1076,6 +1076,7 @@ do_ambig_menu(void)
 	} else
 	    minfo.cur = NULL;
     }
+#if 0
     if (insgroup) {
 	insgnum = comp_mod(insgnum, lastpermgnum);
 	for (minfo.group = amatches;
@@ -1088,6 +1089,7 @@ do_ambig_menu(void)
 	}
 	insmnum = comp_mod(insmnum, (minfo.group)->mcount);
     } else {
+#endif
 	insmnum = comp_mod(insmnum, lastpermmnum);
 	for (minfo.group = amatches;
 	     minfo.group && (minfo.group)->mcount <= insmnum;
@@ -1098,7 +1100,9 @@ do_ambig_menu(void)
 	    minfo.asked = 0;
 	    return;
 	}
+#if 0
     }
+#endif
     mc = (minfo.group)->matches + insmnum;
     do_single(*mc);
     minfo.cur = mc;