From 6bcc7f601171bff4b4eaaff0a12e21b8f9e136c4 Mon Sep 17 00:00:00 2001 From: Peter Stephenson Date: Fri, 10 Oct 2008 13:53:43 +0000 Subject: [PATCH] unposted: protect () in doc from macro expansion --- ChangeLog | 2 ++ Doc/Zsh/expn.yo | 2 +- 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/ChangeLog b/ChangeLog index a0391de13..a09e9f52a 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,5 +1,7 @@ 2008-10-10 Peter Stephenson + * 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