about summary refs log tree commit diff
diff options
context:
space:
mode:
-rw-r--r--ChangeLog3
-rw-r--r--Completion/Core/_oldlist2
2 files changed, 4 insertions, 1 deletions
diff --git a/ChangeLog b/ChangeLog
index be8da7772..4f826cfff 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,8 @@
 2000-06-28  Sven Wischnowsky  <wischnow@zsh.org>
 
+	* 12099: Completion/Core/_oldlist: make _oldlist not use the dummy
+ 	match added for the warning
+	
 	* 12093: Src/Zle/compcore.c, Src/Zle/complist.c, Src/Zle/compresult.c:
  	make a-a-i-n-h in menu selection work with one match; better undo
  	behaviour for menu selection
diff --git a/Completion/Core/_oldlist b/Completion/Core/_oldlist
index 991d01995..3ece0b7ca 100644
--- a/Completion/Core/_oldlist
+++ b/Completion/Core/_oldlist
@@ -1,6 +1,6 @@
 #autoload
 
-[[ _matcher_num -gt 1 ]] && return 1
+[[ _matcher_num -gt 1 || $_lastcomp[nmatches] -eq 0 ]] && return 1
 
 local list