about summary refs log tree commit diff
path: root/Doc/Zsh/zle.yo
diff options
context:
space:
mode:
authorPeter Stephenson <pws@users.sourceforge.net>2006-03-20 11:06:22 +0000
committerPeter Stephenson <pws@users.sourceforge.net>2006-03-20 11:06:22 +0000
commit40df7069cb3f0bcac939eab2337511a5ac5ef510 (patch)
tree979d870a872f3b99f3e59c3ad8e8c75ab20f940f /Doc/Zsh/zle.yo
parentb37a0f000058dc91fbc87e803ae91486c8396a9e (diff)
downloadzsh-40df7069cb3f0bcac939eab2337511a5ac5ef510.tar.gz
zsh-40df7069cb3f0bcac939eab2337511a5ac5ef510.tar.xz
zsh-40df7069cb3f0bcac939eab2337511a5ac5ef510.zip
22360, 22365: support version 2 of Yodl
Diffstat (limited to 'Doc/Zsh/zle.yo')
-rw-r--r--Doc/Zsh/zle.yo6
1 files changed, 3 insertions, 3 deletions
diff --git a/Doc/Zsh/zle.yo b/Doc/Zsh/zle.yo
index f0808314a..fb6f508a0 100644
--- a/Doc/Zsh/zle.yo
+++ b/Doc/Zsh/zle.yo
@@ -482,7 +482,7 @@ if the remote side has closed the connection; we handle that by testing
 for a failed read.
 example(if ztcp pwspc 2811; then
   tcpfd=$REPLY
-  handler() {
+  handler+LPAR()RPAR() {
     zle -I
     local line
     if ! read -r line <&$1; then
@@ -774,7 +774,7 @@ Executed every time the line editor is started to read a new line
 of input.  The following example puts the line editor into vi command
 mode when it starts up.
 
-example(zle-line-init() { zle -K vicmd; }
+example(zle-line-init+LPAR()RPAR() { zle -K vicmd; }
 zle -N zle-line-init)
 
 (The command inside the function sets the keymap directly; it is
@@ -1776,7 +1776,7 @@ the command line or key bindings temporarily.
 
 
 The following widget, tt(caps-lock), serves as an example.
-example(self-insert-ucase() {
+example(self-insert-ucase+LPAR()RPAR() {
   LBUFFER+=${(U)KEYS[-1]}
 }