diff options
Diffstat (limited to 'Src/Zle/complist.c')
-rw-r--r-- | Src/Zle/complist.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/Src/Zle/complist.c b/Src/Zle/complist.c index 5619160a9..091ad03b1 100644 --- a/Src/Zle/complist.c +++ b/Src/Zle/complist.c @@ -2391,6 +2391,9 @@ domenuselect(Hookdef dummy, Chdata dat) char *s; char status[MAX_STATUS], *modeline = NULL; + if (! hasoldlist) + return 2; + msearchstack = NULL; msearchstr = ""; msearchstate = MS_OK; |