Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Re: A little cleanup
- X-seq: zsh-workers 146
- From: Wayne Davison <wayne@xxxxxxxxxxxxxxxxxx>
- To: Zefram <A.Main@xxxxxxxxxxxxxxxxx>
- Subject: Re: A little cleanup
- Date: Tue, 4 Jul 1995 23:21:14 -0700 (PDT)
- Cc: zsh-workers@xxxxxxxxxxxxxxx
- In-reply-to: <9530.199507030441@xxxxxxxxxxxxxxxxxxxxxxx> from "Zefram" at Jul 3, 95 05:41:00 am
> It seems that ZLE_NAMEDBUFFER isn't actually used anywhere. This minor
> cleanup doesn't seem to break anything...
And actually fixed the bug I reported when yanking things (where
zsh keeps using the same kill buffer after a yank as it was using
before). With this cleaned up, my patch to zle_utils.c (that has
not yet been included as of beta 10) is no longer needed. The
change was on line 113:
else if (!(lastcmd & ZLE_KILL)) {
changed to:
else if ((lastcmd & ZLE_KILL) != ZLE_KILL) {
It was required because ZLE_NAMEDBUFFER had ZLE_KILL in it, but
with the cleanup only kill commands now have ZLE_KILL set -- a
good thing.
..wayne..
Messages sorted by:
Reverse Date,
Date,
Thread,
Author