zsh-workers
 help / color / mirror / code / Atom feed
* [PATCH] fix format in contrib.yo
@ 2016-06-15 10:19 Jun T.
  0 siblings, 0 replies; only message in thread
From: Jun T. @ 2016-06-15 10:19 UTC (permalink / raw)
  To: zsh-workers

A few simple format fixes.

diff --git a/Doc/Zsh/contrib.yo b/Doc/Zsh/contrib.yo
index dd643a1..2164c04 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



^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2016-06-15 10:58 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2016-06-15 10:19 [PATCH] fix format in contrib.yo Jun T.

Code repositories for project(s) associated with this public inbox

	https://git.vuxu.org/mirror/zsh/

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).