summary refs log tree commit diff
path: root/Doc/Zsh
diff options
context:
space:
mode:
authorPeter Stephenson <pws@users.sourceforge.net>2006-12-10 23:27:01 +0000
committerPeter Stephenson <pws@users.sourceforge.net>2006-12-10 23:27:01 +0000
commit25134bc34190cfc184fc1214dc04c3d5782a74a3 (patch)
tree86d3c7c3826fbfe69b235586b03db7aea112e27b /Doc/Zsh
parent4ea03291a8beb1487cbe31664a991d776bca19a0 (diff)
downloadzsh-25134bc34190cfc184fc1214dc04c3d5782a74a3.tar.gz
zsh-25134bc34190cfc184fc1214dc04c3d5782a74a3.tar.xz
zsh-25134bc34190cfc184fc1214dc04c3d5782a74a3.zip
unposted: improve CUTBUFFER and killring documentation
23044: print -c and print -C didn't handle unmetafied input
Diffstat (limited to 'Doc/Zsh')
-rw-r--r--Doc/Zsh/zle.yo6
1 files changed, 4 insertions, 2 deletions
diff --git a/Doc/Zsh/zle.yo b/Doc/Zsh/zle.yo
index 6e0d82513..d600a49eb 100644
--- a/Doc/Zsh/zle.yo
+++ b/Doc/Zsh/zle.yo
@@ -662,7 +662,8 @@ cursor being moved to the appropriate end of the buffer.
 vindex(CUTBUFFER)
 item(tt(CUTBUFFER) (scalar))(
 The last item to be cut using one of the `tt(kill-)' commands; the
-string which the next yank would insert in the line.
+string which the next yank would insert in the line.  Later entries in
+the kill ring are in the array tt(killring).
 )
 vindex(HISTNO)
 item(tt(HISTNO) (integer))(
@@ -686,7 +687,8 @@ vindex(killring)
 item(tt(killring) (array))(
 The array of previously killed items, with the most recently killed first.
 This gives the items that would be retrieved by a tt(yank-pop) in the
-same order.
+same order.  Note, however, that the most recently killed item is in
+tt($CUTBUFFER); tt($killring) shows the array of previous entries.
 
 The default size for the kill ring is eight, however the length may be
 changed by normal array operations.  Any empty string in the kill ring is