From 25134bc34190cfc184fc1214dc04c3d5782a74a3 Mon Sep 17 00:00:00 2001 From: Peter Stephenson Date: Sun, 10 Dec 2006 23:27:01 +0000 Subject: unposted: improve CUTBUFFER and killring documentation 23044: print -c and print -C didn't handle unmetafied input --- Doc/Zsh/zle.yo | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'Doc') 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 -- cgit 1.4.1