summary refs log tree commit diff
diff options
context:
space:
mode:
-rw-r--r--ChangeLog2
-rw-r--r--Doc/Zsh/expn.yo2
2 files changed, 3 insertions, 1 deletions
diff --git a/ChangeLog b/ChangeLog
index a0391de13..a09e9f52a 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,7 @@
 2008-10-10  Peter Stephenson  <pws@csr.com>
 
+	* unposted: Doc/Zsh/expn.yo: protect () from macro expansion.
+
 	* unposted: Etc/CONTRIBUTORS: update.
 
 	* 25837: NEWS: add descriptions of new debugging features.
diff --git a/Doc/Zsh/expn.yo b/Doc/Zsh/expn.yo
index 02b95d4f0..583e00ac0 100644
--- a/Doc/Zsh/expn.yo
+++ b/Doc/Zsh/expn.yo
@@ -1365,7 +1365,7 @@ beginning with the string tt(p:) to directories below
 tt(/home/pws/perforce).  In this simple case a static name for the
 directory would be just as effective.
 
-example(zsh_directory_name() {
+example(zsh_directory_name+LPAR()RPAR() {
   emulate -L zsh
   setopt extendedglob
   local -a match mbegin mend