PATCH: Fix typo in default value for avoid-completer

Mikael Magnusson <[email protected]>
Newsgroups gmane.comp.shells.zsh.devel
Message-ID <[email protected]>
---
 Completion/Base/Completer/_all_matches | 2 +-
 Doc/Zsh/compsys.yo                     | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/Completion/Base/Completer/_all_matches b/Completion/Base/Completer/_all_matches
index 59a6d80603..5f68415515 100644
--- a/Completion/Base/Completer/_all_matches
+++ b/Completion/Base/Completer/_all_matches
@@ -28,7 +28,7 @@ _all_matches_end() {
   local not
 
   zstyle -s "$_all_matches_context" avoid-completer not ||
-      not=( _expand _old_list _correct _approximate )
+      not=( _expand _oldlist _correct _approximate )
 
   if [[ "$compstate[nmatches]" -gt 1 && $not[(I)(|_)$_completer] -eq 0 ]]; then
     local expl
diff --git a/Doc/Zsh/compsys.yo b/Doc/Zsh/compsys.yo
index 9184072a55..7f748ad733 100644
--- a/Doc/Zsh/compsys.yo
+++ b/Doc/Zsh/compsys.yo
@@ -1209,7 +1209,7 @@ generated.  Its value is a list of names of completers.  If any of
 these is the name of the completer that generated the matches in this
 completion, the string will not be added.
 
-The default value for this style is `tt(_expand _old_list _correct
+The default value for this style is `tt(_expand _oldlist _correct
 _approximate)', i.e. it contains the completers for which a string
 with all matches will almost never be wanted.
 )
-- 
2.38.1
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.