about summary refs log tree commit diff
path: root/Doc/Zsh
diff options
context:
space:
mode:
authorPeter Stephenson <pws@users.sourceforge.net>2004-09-02 14:34:33 +0000
committerPeter Stephenson <pws@users.sourceforge.net>2004-09-02 14:34:33 +0000
commitfb7907257503b2c8915d3623c694bfb21122b7df (patch)
tree8f2b50888038a35a484088e30173f5880aea6767 /Doc/Zsh
parentd24593bf3862046a4093226f21ce276bd23d0ae3 (diff)
downloadzsh-fb7907257503b2c8915d3623c694bfb21122b7df.tar.gz
zsh-fb7907257503b2c8915d3623c694bfb21122b7df.tar.xz
zsh-fb7907257503b2c8915d3623c694bfb21122b7df.zip
20303: zle -I test and running zle widgets in traps
Diffstat (limited to 'Doc/Zsh')
-rw-r--r--Doc/Zsh/zle.yo9
1 files changed, 6 insertions, 3 deletions
diff --git a/Doc/Zsh/zle.yo b/Doc/Zsh/zle.yo
index fe6ef04a6..7b59d32d3 100644
--- a/Doc/Zsh/zle.yo
+++ b/Doc/Zsh/zle.yo
@@ -505,9 +505,12 @@ to minimise disruption.
 Note that there are normally better ways of manipulating the display from
 within zle widgets; see, for example, `tt(zle -R)' above.
 
-The status is zero if zle is active and the current zle display has
-been invalidated (even if this was by a previous call to `tt(zle -I)'),
-else one.
+The returned status is zero if a zle widget can be called immediately.
+Note this is independent of whether the display has been invalidated.
+For example, if a completion widget is active a zle widget cannot be used
+and the status is one even if the display was invalidated; on the other
+hand, the status may be zero if the display was invalidated by a previous
+call to `tt(zle -I)'.
 )
 item(var(widget) tt([ -n) var(num) tt(]) tt([ -N ]) var(args) ...)(
 Invoke the specified widget.  This can only be done when ZLE is