summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBart Schaefer <barts@users.sourceforge.net>2011-12-28 03:20:18 +0000
committerBart Schaefer <barts@users.sourceforge.net>2011-12-28 03:20:18 +0000
commit30c98aa87ed0605f2e7cd254463624c062665cc8 (patch)
treec042114357e00dd0eba7978c494d8176e4ba3593
parentae146b0fe238a693e51233da1650004c2eb32b19 (diff)
downloadzsh-30c98aa87ed0605f2e7cd254463624c062665cc8.tar.gz
zsh-30c98aa87ed0605f2e7cd254463624c062665cc8.zip
30069: replace empty parens with LPAR()RPAR() in an example.
-rw-r--r--ChangeLog7
-rw-r--r--Doc/Zsh/options.yo4
2 files changed, 8 insertions, 3 deletions
diff --git a/ChangeLog b/ChangeLog
index 52e672f88..2a9a5adb5 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+2011-12-27 Barton E. Schaefer <schaefer@zsh.org>
+
+ * 30069: Doc/Zsh/options.yo: replace empty parens with
+ LPAR()RPAR().
+
2011-12-21 Peter Stephenson <p.w.stephenson@ntlworld.com>
* 30041: Src/subst.c: the offset hack to make
@@ -15791,5 +15796,5 @@
*****************************************************
* This is used by the shell to define $ZSH_PATCHLEVEL
-* $Revision: 1.5548 $
+* $Revision: 1.5549 $
*****************************************************
diff --git a/Doc/Zsh/options.yo b/Doc/Zsh/options.yo
index 68247264f..4bf55fa0c 100644
--- a/Doc/Zsh/options.yo
+++ b/Doc/Zsh/options.yo
@@ -567,12 +567,12 @@ tt(IGNORE_BRACES), this option does not disable brace expansion.
For example, with both options unset a function may be defined
in the following fashion:
-example(args() { echo $# })
+example(args+LPAR()RPAR() { echo $# })
while if either option is set, this does not work and something
equivalent to the following is required:
-example(args() { echo $#; })
+example(args+LPAR()RPAR() { echo $#; })
)
pindex(KSH_GLOB)