summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--ChangeLog3
-rw-r--r--Doc/Zsh/compsys.yo3
2 files changed, 5 insertions, 1 deletions
diff --git a/ChangeLog b/ChangeLog
index 597aa957f..050062599 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,8 @@
2005-06-08 Oliver Kiddle <opk@zsh.org>
+ * 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