1
0
mirror of git://git.code.sf.net/p/zsh/code synced 2024-10-02 08:51:18 +02:00

avoid adding empty strings to the kill ring (13767)

This commit is contained in:
Sven Wischnowsky 2001-03-26 08:58:33 +00:00
parent ea08ba3cea
commit 4e994fddce
2 changed files with 8 additions and 2 deletions

@ -1,8 +1,11 @@
2001-03-26 Sven Wischnowsky <wischnow@zsh.org>
* 13767: Src/Zle/zle_utils.c: avoid adding empty strings to
the kill ring
* 13763: Completion/Builtins/_pids, Doc/Zsh/compsys.yo: _pids
* shouldn't start menu completion if the current word starts
* with a hyphen; typo fix in compsys.yo
shouldn't start menu completion if the current word starts
with a hyphen; typo fix in compsys.yo
2001-03-25 Bart Schaefer <schaefer@zsh.org>

@ -128,6 +128,9 @@ forekill(int ct, int dir)
void
cut(int i, int ct, int dir)
{
if (!ct)
return;
if (zmod.flags & MOD_VIBUF) {
struct cutbuffer *b = &vibuf[zmod.vibuf];