about summary refs log tree commit diff
path: root/Doc
diff options
context:
space:
mode:
authorJun-ichi Takimoto <takimoto-j@kba.biglobe.ne.jp>2016-06-16 08:48:12 +0900
committerJun-ichi Takimoto <takimoto-j@kba.biglobe.ne.jp>2016-06-16 08:48:12 +0900
commit944ab1a7aae3fc4d8517e3c97acc4e292db1cb6a (patch)
tree96c512e20196e4cd60dcabb9387b0129c761b2b1 /Doc
parentbc1acf5b0e277ac3e5d7d57b9194b06931e5e406 (diff)
downloadzsh-944ab1a7aae3fc4d8517e3c97acc4e292db1cb6a.tar.gz
zsh-944ab1a7aae3fc4d8517e3c97acc4e292db1cb6a.tar.xz
zsh-944ab1a7aae3fc4d8517e3c97acc4e292db1cb6a.zip
38684: fix format in contrib.yo
Diffstat (limited to 'Doc')
-rw-r--r--Doc/Zsh/contrib.yo6
1 files changed, 3 insertions, 3 deletions
diff --git a/Doc/Zsh/contrib.yo b/Doc/Zsh/contrib.yo
index dd643a140..2164c04c9 100644
--- a/Doc/Zsh/contrib.yo
+++ b/Doc/Zsh/contrib.yo
@@ -345,7 +345,7 @@ tt(zle-isearch-exit), etc.
 var(widgetname) is the name of a ZLE widget.  If no options are given this
 is added to the array of widgets to be invoked in the given hook context.
 Note that the hooks are called as widgets, that is, with
-`tt(zle var(widgetname) -Nw)' rather than as a function call.
+`tt(zle )var(widgetname)tt( -Nw)' rather than as a function call.
 
 The arrays of var(widgetname) are maintained in several tt(zstyle)
 contexts, one for each var(hook) context, with a style of `tt(widgets)'.
@@ -365,7 +365,7 @@ array, it is assumed that a shell function also named var(widgetname) is
 meant to provide the implementation of the widget.  This name is therefore
 marked for autoloading, and the options tt(-U), tt(-z) and tt(-k) are
 passed as arguments to tt(autoload) as with tt(add-zsh-hook).  The
-widget is also created with `tt(zle -N var(widgetname))' to cause the
+widget is also created with `tt(zle -N )var(widgetname)' to cause the
 corresponding function to be loaded the first time the hook is called.
 
 In addition, var(widgetname) may be of the form var(index)tt(:)var(name).
@@ -2146,7 +2146,7 @@ tt(match-word-context).  This should not usually need to be called
 directly.
 )
 tindex(bracketed-paste-magic)
-item(bracketed-paste-magic)(
+item(tt(bracketed-paste-magic))(
 The tt(bracketed-paste) widget (see ifzman(subsection Miscellaneous in
 zmanref(zshzle))ifnzman(noderef(Miscellaneous) in noderef(Zle Widgets)))
 inserts pasted text literally into the editor buffer rather than interpret