summary refs log tree commit diff
diff options
context:
space:
mode:
-rw-r--r--ChangeLog3
-rw-r--r--Src/Zle/zle_utils.c1
2 files changed, 3 insertions, 1 deletions
diff --git a/ChangeLog b/ChangeLog
index f209352a5..f96b4e3e2 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,8 @@
 2014-10-23  Oliver Kiddle  <opk@zsh.org>
 
+	* 33514: Src/Zle/zle_utils.c: even with a named vi buffer, we
+	should update the default buffer
+
 	* 33513: Src/Zle/iwidgets.list: vi mode deletions should replace
 	cut buffer not append to it
 
diff --git a/Src/Zle/zle_utils.c b/Src/Zle/zle_utils.c
index 1479365df..f69bc77c9 100644
--- a/Src/Zle/zle_utils.c
+++ b/Src/Zle/zle_utils.c
@@ -941,7 +941,6 @@ cuttext(ZLE_STRING_T line, int ct, int flags)
 	    ZS_memcpy(b->buf + len, line, ct);
 	    b->len = len + ct;
 	}
-	return;
     } else if (flags & CUT_YANK) {
 	/* Save in "0 */
 	free(vibuf[26].buf);