From 6b1dc0f701754f244cd090c8ec74db5af4a418ed Mon Sep 17 00:00:00 2001 From: Peter Stephenson Date: Thu, 9 Sep 2004 10:12:42 +0000 Subject: 20331: Use internal zlong variables for consistency 20332: Add WIDGETSTYLE zle parameter --- Doc/Zsh/zle.yo | 10 ++++++++++ 1 file changed, 10 insertions(+) (limited to 'Doc') diff --git a/Doc/Zsh/zle.yo b/Doc/Zsh/zle.yo index ed80b269a..036c0284c 100644 --- a/Doc/Zsh/zle.yo +++ b/Doc/Zsh/zle.yo @@ -732,6 +732,16 @@ vindex(WIDGET) item(tt(WIDGET) (scalar))( The name of the widget currently being executed; read-only. ) +vindex(WIDGETSTYLE) +item(tt(WIDGET) (scalar))( +Describes the implementation behind the widget currently being executed; +the second argument that followed tt(zle -C) or tt(zle -N) when the widget +was defined, if any. If the widget was defined with tt(zle -N) and there was +no second argument this is the same as the first argument. Hence for +tt(zle -N) this gives the name of the function that implements the widget, +and for tt(zle -C) this gives the internal completion widget that defines +the type of completion. Read-only. +) enditem() subsect(Special Widget) -- cgit 1.4.1