diff options
author | Oliver Kiddle <opk@zsh.org> | 2014-10-23 17:14:19 +0200 |
---|---|---|
committer | Oliver Kiddle <opk@zsh.org> | 2014-10-23 17:14:19 +0200 |
commit | 72c666fb4fd2ad4551a83f4cc40f99fa491afa92 (patch) | |
tree | af8c6c4e45e11ba8275049e7f089f937a322b455 | |
parent | 9d54f0ecde5751277639c07830011f0ac8fd4eea (diff) | |
download | zsh-72c666fb4fd2ad4551a83f4cc40f99fa491afa92.tar.gz zsh-72c666fb4fd2ad4551a83f4cc40f99fa491afa92.tar.xz zsh-72c666fb4fd2ad4551a83f4cc40f99fa491afa92.zip |
33514: even with a named vi buffer, we should update the default buffer
-rw-r--r-- | ChangeLog | 3 | ||||
-rw-r--r-- | Src/Zle/zle_utils.c | 1 |
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); |