about summary refs log tree commit diff
diff options
context:
space:
mode:
authorOliver Kiddle <opk@users.sourceforge.net>2005-06-08 12:22:53 +0000
committerOliver Kiddle <opk@users.sourceforge.net>2005-06-08 12:22:53 +0000
commit9181f0e3059862d2d8cc109bc849f8705cbbc23c (patch)
treeec8424d498a25391bbc4cda84159796b42cfd2a1
parent4ea3b102160e7b84757d559eb67e7fdf261f056f (diff)
downloadzsh-9181f0e3059862d2d8cc109bc849f8705cbbc23c.tar.gz
zsh-9181f0e3059862d2d8cc109bc849f8705cbbc23c.tar.xz
zsh-9181f0e3059862d2d8cc109bc849f8705cbbc23c.zip
21314: declare expl local in example use of _wanted
-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