summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPeter Stephenson <pws@users.sourceforge.net>2009-01-09 21:28:24 +0000
committerPeter Stephenson <pws@users.sourceforge.net>2009-01-09 21:28:24 +0000
commit7c54d180cb2eabc41bd8aa621a917736bf94dc44 (patch)
tree48a1111af2766a0caf85c4139ea21deaf6e60594
parent1a43616975310a638f76ba4f5e73757e4b071a1f (diff)
downloadzsh-7c54d180cb2eabc41bd8aa621a917736bf94dc44.tar.gz
zsh-7c54d180cb2eabc41bd8aa621a917736bf94dc44.zip
unposted: tweak doc for 26270
-rw-r--r--ChangeLog4
-rw-r--r--Doc/Zsh/compwid.yo9
2 files changed, 12 insertions, 1 deletions
diff --git a/ChangeLog b/ChangeLog
index 04f434765..fda5b0bbc 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,7 @@
2009-01-09 Peter Stephenson <p.w.stephenson@ntlworld.com>
+ * unposted: Doc/Zsh/compwid.yo: tweak doc for 26270.
+
* unposted: Src/zsh.mdd: fix the inevitable confusion with
using dollar Revision dollar.
@@ -10886,5 +10888,5 @@
*****************************************************
* This is used by the shell to define $ZSH_PATCHLEVEL
-* $Revision: 1.4500 $
+* $Revision: 1.4501 $
*****************************************************
diff --git a/Doc/Zsh/compwid.yo b/Doc/Zsh/compwid.yo
index 05b8ab9b2..6c944bc2e 100644
--- a/Doc/Zsh/compwid.yo
+++ b/Doc/Zsh/compwid.yo
@@ -285,6 +285,15 @@ tt(messages) both kinds of explanation strings will be listed. It
will be set appropriately on entry to a completion widget and may be
changed there.
)
+vindex(list_in_word, compstate)
+item(tt(list_in_word))(
+This controls how the tt(accept-and-menu-complete) widget handles
+suffixes. If it is set to tt(0) (the default), the suffix is
+treated in accordance with the usual rules (typically being removed
+and replaced by a space, if marked for this treatment). If set to
+tt(1), the suffix is preserved so that the next match will be inserted
+in the same word.
+)
vindex(list_lines, compstate)
item(tt(list_lines))(
This gives the number of lines that are needed to display the full