From 9ea4c8104c463b68006cda6a5204e72bc5d88d36 Mon Sep 17 00:00:00 2001 From: Clint Adams Date: Sun, 10 Feb 2002 17:24:06 +0000 Subject: Sven: 16408: Src/Zle/compcore.c: make sure auto menu isn't started accidentially when bashautolist is set --- Src/Zle/compcore.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'Src/Zle') diff --git a/Src/Zle/compcore.c b/Src/Zle/compcore.c index 94cb914d8..3ea9e8c4c 100644 --- a/Src/Zle/compcore.c +++ b/Src/Zle/compcore.c @@ -842,7 +842,8 @@ callcompfunc(char *s, char *fn) } startauto = ((compinsert && !strcmp(compinsert, "automenu-unambiguous")) || - (bashlistfirst && (!compinsert || !*compinsert))); + (bashlistfirst && isset(AUTOMENU) && + (!compinsert || !*compinsert))); useexact = (compexact && !strcmp(compexact, "accept")); if (!comptoend || !*comptoend) -- cgit 1.4.1