From 42a260df99eabfc3ab34e0320670c36540c8d300 Mon Sep 17 00:00:00 2001 From: Frank Terbeck Date: Thu, 2 Jun 2011 16:15:23 +0000 Subject: 29434: contrib.yo: Use PLUS() to avoid a + being silently dropped. --- Doc/Zsh/contrib.yo | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'Doc') diff --git a/Doc/Zsh/contrib.yo b/Doc/Zsh/contrib.yo index 9bb7dcf45..2b55b36f0 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. -- cgit 1.4.1