From 9181f0e3059862d2d8cc109bc849f8705cbbc23c Mon Sep 17 00:00:00 2001 From: Oliver Kiddle Date: Wed, 8 Jun 2005 12:22:53 +0000 Subject: [PATCH] 21314: declare expl local in example use of _wanted --- ChangeLog | 3 +++ Doc/Zsh/compsys.yo | 3 ++- 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/ChangeLog b/ChangeLog index 597aa957f..050062599 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,5 +1,8 @@ 2005-06-08 Oliver Kiddle + * 21314: Doc/Zsh/compsys.yo: declare expl local in example use + of _wanted + * unposted: Completion/Linux/Command/_yast: new yast completion * 21313: Completion/Unix/Type/_email_addresses: make code for diff --git a/Doc/Zsh/compsys.yo b/Doc/Zsh/compsys.yo index 2a9aae63a..b4f664e05 100644 --- a/Doc/Zsh/compsys.yo +++ b/Doc/Zsh/compsys.yo @@ -4370,7 +4370,8 @@ is carried out automatically by tt(_wanted). Hence to offer only one tag and immediately add the corresponding matches with the given description: -example(_wanted tag expl 'description' \ +example(local expl +_wanted tag expl 'description' \ compadd matches...) Note that, as for tt(_requested), the var(command) must be able to