about summary refs log tree commit diff
path: root/Src
diff options
context:
space:
mode:
authorSven Wischnowsky <wischnow@users.sourceforge.net>2002-05-24 15:02:32 +0000
committerSven Wischnowsky <wischnow@users.sourceforge.net>2002-05-24 15:02:32 +0000
commit9038bdb400ed152c0a1a11a70d9722c4927ec1fc (patch)
treeb37f51ca451ae20f6c017a21fd153ee5bbaec675 /Src
parent00d476ac200660819c0e534201d7f23bc444f4e4 (diff)
downloadzsh-9038bdb400ed152c0a1a11a70d9722c4927ec1fc.tar.gz
zsh-9038bdb400ed152c0a1a11a70d9722c4927ec1fc.tar.xz
zsh-9038bdb400ed152c0a1a11a70d9722c4927ec1fc.zip
we have to disable 17219 for some keys because their code doesn't set up the variables we need (17222)
Diffstat (limited to 'Src')
-rw-r--r--Src/Zle/complist.c7
1 files changed, 7 insertions, 0 deletions
diff --git a/Src/Zle/complist.c b/Src/Zle/complist.c
index 06474b81c..9eb1af8db 100644
--- a/Src/Zle/complist.c
+++ b/Src/Zle/complist.c
@@ -1919,6 +1919,7 @@ domenuselect(Hookdef dummy, Chdata dat)
 	    mselect = (*(minfo.cur))->gnum;
 	    setwish = wasnext = 1;
 	    mline = 0;
+            molbeg = -42;
 	    continue;
 	} else if (cmd == Th(z_acceptandhold) ||
 		   cmd == Th(z_acceptandmenucomplete)) {
@@ -1970,6 +1971,7 @@ domenuselect(Hookdef dummy, Chdata dat)
 		break;
 	    }
 	    setwish = 1;
+            molbeg = -42;
 	    continue;
 	} else if (cmd == Th(z_undo)) {
 	    int l;
@@ -2012,11 +2014,14 @@ domenuselect(Hookdef dummy, Chdata dat)
 	    clearlist = 1;
 	    setwish = 1;
 	    listdat.valid = 0;
+            molbeg = -42;
 	} else if (cmd == Th(z_redisplay)) {
 	    redisplay(zlenoargs);
+            molbeg = -42;
 	    continue;
 	} else if (cmd == Th(z_clearscreen)) {
 	    clearscreen(zlenoargs);
+            molbeg = -42;
 	    continue;
 	} else if (cmd == Th(z_downhistory) ||
 		   cmd == Th(z_downlineorhistory) ||
@@ -2322,6 +2327,7 @@ domenuselect(Hookdef dummy, Chdata dat)
 	    mselect = (*(minfo.cur))->gnum;
 	    setwish = 1;
 	    mline = -1;
+            molbeg = -42;
 	    continue;
 	} else if (cmd == Th(z_reversemenucomplete) ||
 		   !strcmp(cmd->nam, "reverse-menu-complete")) {
@@ -2330,6 +2336,7 @@ domenuselect(Hookdef dummy, Chdata dat)
 	    mselect = (*(minfo.cur))->gnum;
 	    setwish = 1;
 	    mline = -1;
+            molbeg = -42;
 	    continue;
 	} else if (cmd == Th(z_undefinedkey)) {
 	    continue;