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. --- ChangeLog | 7 ++++++- Doc/Zsh/contrib.yo | 2 +- 2 files changed, 7 insertions(+), 2 deletions(-) diff --git a/ChangeLog b/ChangeLog index a58e6cea9..2c9bed84c 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,8 @@ +2011-06-02 Frank Terbeck + + * 29434: Doc/Zsh/contrib.yo: Use PLUS() to avoid a + being + silently dropped. + 2011-06-01 Frank Terbeck * 29412: Completion/Unix/Command/_tmux: Disable sub-command @@ -14920,5 +14925,5 @@ ***************************************************** * This is used by the shell to define $ZSH_PATCHLEVEL -* $Revision: 1.5354 $ +* $Revision: 1.5355 $ ***************************************************** 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 v1.2.3