summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--ChangeLog5
-rw-r--r--Src/Zle/zle_utils.c2
2 files changed, 6 insertions, 1 deletions
diff --git a/ChangeLog b/ChangeLog
index 2654d7dea..2df340165 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+2009-01-03 Peter Stephenson <p.w.stephenson@ntlworld.com>
+
+ * Greg Klanderman: 26159: Src/Zle/zle_utils.c: CUT_RAW should be
+ CUT_REPLACE for multiple kills to append.
+
2008-12-30 Clint Adams <clint@zsh.org>
* 26202: Functions/Misc/run-help: show zshmodules(1) for echotc,
diff --git a/Src/Zle/zle_utils.c b/Src/Zle/zle_utils.c
index 4c02d6013..2b2da7dcd 100644
--- a/Src/Zle/zle_utils.c
+++ b/Src/Zle/zle_utils.c
@@ -546,7 +546,7 @@ cuttext(ZLE_STRING_T line, int ct, int flags)
cutbuf.buf = (ZLE_STRING_T)zalloc(ZLE_CHAR_SIZE);
cutbuf.buf[0] = ZWC('\0');
cutbuf.len = cutbuf.flags = 0;
- } else if (!(lastcmd & ZLE_KILL) || (flags & CUT_RAW)) {
+ } else if (!(lastcmd & ZLE_KILL) || (flags & CUT_REPLACE)) {
Cutbuffer kptr;
if (!kring) {
kringsize = KRINGCTDEF;