summary refs log tree commit diff
path: root/Doc/Zsh/expn.yo
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 /Doc/Zsh/expn.yo
parent4c674ba072b60bb2143cb20bd9663fbacd3b182f (diff)
downloadzsh-6bcc7f601171bff4b4eaaff0a12e21b8f9e136c4.tar.gz
zsh-6bcc7f601171bff4b4eaaff0a12e21b8f9e136c4.tar.xz
zsh-6bcc7f601171bff4b4eaaff0a12e21b8f9e136c4.zip
unposted: protect () in doc from macro expansion
Diffstat (limited to 'Doc/Zsh/expn.yo')
-rw-r--r--Doc/Zsh/expn.yo2
1 files changed, 1 insertions, 1 deletions
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