about summary refs log tree commit diff
diff options
context:
space:
mode:
-rw-r--r--ChangeLog3
-rw-r--r--Doc/Zsh/contrib.yo2
2 files changed, 4 insertions, 1 deletions
diff --git a/ChangeLog b/ChangeLog
index fd71a22d2..afef5deaf 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,8 @@
 2008-09-22  Peter Stephenson  <pws@csr.com>
 
+	* 25715: Frank Terbeck: Doc/Zsh/contrib.yo: vcs_info
+	now works straight away.
+
 	* 25710: Functions/VCS_Info/vcs_info,
 	Functions/VCS_Info/vcs_info_lastmsg,
 	Functions/VCS_Info/vcs_info_printsys,
diff --git a/Doc/Zsh/contrib.yo b/Doc/Zsh/contrib.yo
index cd86b199f..5f4a016d8 100644
--- a/Doc/Zsh/contrib.yo
+++ b/Doc/Zsh/contrib.yo
@@ -345,7 +345,7 @@ endsitem()
 
 To load var(vcs_info):
 
-example(autoload -Uz vcs_info && vcs_info)
+example(autoload -Uz vcs_info)
 
 If you plan to use the information from var(vcs_info) in your prompt (which
 is its primary use), you need to enable the tt(PROMPT_SUBST) option.