Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
[PATCH] add-zsh-hook/add-zle-hook-widget: Promise append semantics.
- X-seq: zsh-workers 39522
- From: Daniel Shahaf <d.s@xxxxxxxxxxxxxxxxxx>
- To: zsh-workers@xxxxxxx
- Subject: [PATCH] add-zsh-hook/add-zle-hook-widget: Promise append semantics.
- Date: Fri, 30 Sep 2016 15:26:27 +0000
- Dkim-signature: v=1; a=rsa-sha1; c=relaxed/relaxed; d=	daniel.shahaf.name; h=content-type:date:from:message-id	:mime-version:subject:to:x-sasl-enc:x-sasl-enc; s=mesmtp; bh=oKC	UY3yoMuJYhIXY6MNU8SXXSxY=; b=oa2yuYvpnaGmZYJdxk/FeWp1T/fCrkRoe7j	VQe5b2sShjgSE8xHjEwJtLtpE6nynlobZbZSV52WH9Sp6GfFF6IPCpw9w84oK9Xj	fcRdSCP0Mp0M3xq/CZxxCTatscrXo52TVwk8EEWmQY6/doWzUhm8HzL4QLAoI46n	B+U7l42Q=
- Dkim-signature: v=1; a=rsa-sha1; c=relaxed/relaxed; d=	messagingengine.com; h=content-type:date:from:message-id	:mime-version:subject:to:x-sasl-enc:x-sasl-enc; s=smtpout; bh=oK	CUY3yoMuJYhIXY6MNU8SXXSxY=; b=czfhrzkGSktNvly/cAVCMIPctApm6k8UR8	meK3OHVGAc7vlSvld/goejRoGGrrYQtSbqeE4NDAflvAT0PIjIWuVjcaZ1/djzvg	HfR/Zm6plnKuqOWaGSzwldfLyA7+eD5jV2PXxjQ8Nnvq51WnjvIhGvgQgLsp3K6P	ljDE0mel0=
- List-help: <mailto:zsh-workers-help@zsh.org>
- List-id: Zsh Workers List <zsh-workers.zsh.org>
- List-post: <mailto:zsh-workers@zsh.org>
- Mailing-list: contact zsh-workers-help@xxxxxxx; run by ezmlm
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)
Messages sorted by:
Reverse Date,
Date,
Thread,
Author