* [PATCH] add-zsh-hook/add-zle-hook-widget: Promise append semantics.
@ 2016-09-30 15:26 Daniel Shahaf
0 siblings, 0 replies; only message in thread
From: Daniel Shahaf @ 2016-09-30 15:26 UTC (permalink / raw)
To: zsh-workers
The sentence about "as widgets" is removed since there is a whole paragraph
about that later on.
Applies on top of 39495.
diff --git a/Doc/Zsh/contrib.yo b/Doc/Zsh/contrib.yo
index 189a084..653d1bc 100644
--- a/Doc/Zsh/contrib.yo
+++ b/Doc/Zsh/contrib.yo
@@ -311,6 +311,7 @@ still be manipulated as a hook.
var(function) is name of an ordinary shell function. If no options
are given this will be added to the array of functions to be executed
in the given context.
+Functions are invoked in the order they were added.
If the option tt(-L) is given, the current values for the hook arrays
are listed with tt(typeset).
@@ -345,7 +346,7 @@ as the var(hook) argument.
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
+Widgets are invoked in the order they were added, with
example(tt(zle )var(widgetname)tt( -Nw -- "$@"))
vindex(WIDGET, in hooks)
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2016-09-30 15:28 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2016-09-30 15:26 [PATCH] add-zsh-hook/add-zle-hook-widget: Promise append semantics Daniel Shahaf
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).