Zsh Mailing List Archive
Messages sorted by: Reverse Date, Date, Thread, Author

PATCH: contrib.yo: Use PLUS() to avoid a + being silently dropped



---

   This is the only thing I saw other than the missing paren, which
   Benjamin already spotted.

 Doc/Zsh/contrib.yo |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/Doc/Zsh/contrib.yo b/Doc/Zsh/contrib.yo
index 9bb7dcf..2b55b36 100644
--- a/Doc/Zsh/contrib.yo
+++ b/Doc/Zsh/contrib.yo
@@ -1187,7 +1187,7 @@ code can communicate with the code that called it and through that,
 change the system's behaviour.
 
 For configuration, hooks change the style context:
-example(:vcs_info:var(vcs-string)+var(hook-name):var(user-context):var(repo-root-name))
+example(:vcs_info:var(vcs-string)PLUS()var(hook-name):var(user-context):var(repo-root-name))
 
 To register functions to a hook, you need to list them in the tt(hooks)
 style in the appropriate context.
-- 
1.7.5



Messages sorted by: Reverse Date, Date, Thread, Author