From 6d72dca54fbbf3e86807502288ace649f5fbe05c Mon Sep 17 00:00:00 2001 From: Sven Wischnowsky Date: Tue, 27 Mar 2001 09:14:50 +0000 Subject: try to make _h_c_w smarter at the beginning and end of the list; avoid list-beeping if the old completion list is re-used (3752) --- Src/Zle/compresult.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'Src/Zle/compresult.c') diff --git a/Src/Zle/compresult.c b/Src/Zle/compresult.c index 9b85948f9..74bc577e7 100644 --- a/Src/Zle/compresult.c +++ b/Src/Zle/compresult.c @@ -822,7 +822,7 @@ do_ambiguous(void) /* At this point, we might want a completion listing. Show the listing * * if it is needed. */ - if (isset(LISTBEEP)) + if (isset(LISTBEEP) && !oldlist) ret = 1; if (uselist && (usemenu != 2 || (!listshown && !oldlist)) && -- cgit 1.4.1