about summary refs log tree commit diff
diff options
context:
space:
mode:
authorPeter Stephenson <pws@users.sourceforge.net>2008-10-10 13:53:43 +0000
committerPeter Stephenson <pws@users.sourceforge.net>2008-10-10 13:53:43 +0000
commit6bcc7f601171bff4b4eaaff0a12e21b8f9e136c4 (patch)
treeed8ff2ed4c64f9550c242bb164e85770b7a088ae
parent4c674ba072b60bb2143cb20bd9663fbacd3b182f (diff)
downloadzsh-6bcc7f601171bff4b4eaaff0a12e21b8f9e136c4.tar.gz
zsh-6bcc7f601171bff4b4eaaff0a12e21b8f9e136c4.tar.xz
zsh-6bcc7f601171bff4b4eaaff0a12e21b8f9e136c4.zip
unposted: protect () in doc from macro expansion
-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