From f4a09871b005d1a65d69686bc901922b3dde9a37 Mon Sep 17 00:00:00 2001 From: Sven Wischnowsky Date: Wed, 28 Jun 2000 09:04:02 +0000 Subject: make _oldlist not use the dummy match added for the warning (12099) --- ChangeLog | 3 +++ Completion/Core/_oldlist | 2 +- 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/ChangeLog b/ChangeLog index be8da7772..4f826cfff 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,5 +1,8 @@ 2000-06-28 Sven Wischnowsky + * 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 -- cgit v1.2.3