From 273929e188132274c35f5a4867e8b6d6955dd928 Mon Sep 17 00:00:00 2001 From: Sven Wischnowsky Date: Tue, 30 Jul 2002 07:47:03 +0000 Subject: make sure invalidatelist() isn't called hwen we are inside menu selection and there's only one match left (17489) --- Src/Zle/compresult.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'Src') diff --git a/Src/Zle/compresult.c b/Src/Zle/compresult.c index 75d934a02..326417139 100644 --- a/Src/Zle/compresult.c +++ b/Src/Zle/compresult.c @@ -813,7 +813,7 @@ do_ambiguous(void) * want to enter an AUTO_MENU imediately. */ if ((uselist == 3 || (!uselist && isset(BASHAUTOLIST) && isset(LISTAMBIGUOUS))) && - la) { + la && iforcemenu != -1) { int fc = fromcomp; invalidatelist(); -- cgit 1.4.1