about summary refs log tree commit diff
path: root/Src/Zle/complete.c
diff options
context:
space:
mode:
authorPeter Stephenson <pws@users.sourceforge.net>2009-01-13 12:19:53 +0000
committerPeter Stephenson <pws@users.sourceforge.net>2009-01-13 12:19:53 +0000
commit0cf040f4bf50c5530bd19da76ea234e2cd831667 (patch)
tree3249b38bb7eed7adc09358d9f0f12b53c9870af8 /Src/Zle/complete.c
parente7c9e03c58f04a04c35a0e4c3721f939ba5e58c2 (diff)
downloadzsh-0cf040f4bf50c5530bd19da76ea234e2cd831667.tar.gz
zsh-0cf040f4bf50c5530bd19da76ea234e2cd831667.tar.xz
zsh-0cf040f4bf50c5530bd19da76ea234e2cd831667.zip
Back off 26270 (accept-and-menu-complete).
Was causing memory corruption
Diffstat (limited to 'Src/Zle/complete.c')
-rw-r--r--Src/Zle/complete.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/Src/Zle/complete.c b/Src/Zle/complete.c
index 7dbae1dee..6398fd3e7 100644
--- a/Src/Zle/complete.c
+++ b/Src/Zle/complete.c
@@ -38,7 +38,6 @@ zlong compcurrent,
       complistmax;
 /**/
 zlong complistlines,
-      complistinword,
       compignored;
 
 /**/
@@ -1147,7 +1146,6 @@ static struct compparam compkparams[] = {
       GSU(unambig_pos_gsu) },
     { "insert_positions", PM_SCALAR | PM_READONLY, NULL,
       GSU(insert_pos_gsu) },
-    { "list_in_word", PM_INTEGER, VAL(complistinword), NULL },
     { "list_max", PM_INTEGER, VAL(complistmax), NULL },
     { "last_prompt", PM_SCALAR, VAL(complastprompt), NULL },
     { "to_end", PM_SCALAR, VAL(comptoend), NULL },
@@ -1598,7 +1596,7 @@ setup_(UNUSED(Module m))
 	compvared = compqstack = NULL;
     complastprefix = ztrdup("");
     complastsuffix = ztrdup("");
-    complistmax = complistinword = 0;
+    complistmax = 0;
     hascompmod = 1;
 
     return 0;