about summary refs log tree commit diff
diff options
context:
space:
mode:
-rw-r--r--ChangeLog2
-rw-r--r--Doc/Zsh/contrib.yo4
2 files changed, 4 insertions, 2 deletions
diff --git a/ChangeLog b/ChangeLog
index c53206478..7887d6e25 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,7 @@
 2007-05-01  Peter Stephenson  <pws@csr.com>
 
+	* unposted: Doc/Zsh/contrib.yo: typo in widget name.
+
 	* Guillaume Chazarain: 23364: Src/signals.c, Src/signals.h: fix
 	race in POSIX signal blocking - use local variables as other forms
 	already do.
diff --git a/Doc/Zsh/contrib.yo b/Doc/Zsh/contrib.yo
index 8686e9430..50965bfc4 100644
--- a/Doc/Zsh/contrib.yo
+++ b/Doc/Zsh/contrib.yo
@@ -1191,13 +1191,13 @@ For example, a user-defined widget containing the following code
 converts the characters in the argument under the cursor into all upper
 case:
 
-example(modify-current-word '${(U)ARG}')
+example(modify-current-argument '${(U)ARG}')
 
 The following strips any quoting from the current word (whether backslashes
 or one of the styles of quotes), and replaces it with single quoting
 throughout:
 
-example(modify-current-word '${(qq)${(Q)ARG}}')
+example(modify-current-argument '${(qq)${(Q)ARG}}')
 )
 enditem()