mirror of
git://git.code.sf.net/p/zsh/code
synced 2025-09-29 19:00:57 +02:00
properly restore noaliases in bufferwords() (13530)
This commit is contained in:
parent
40e1304987
commit
85de1eae0b
2 changed files with 6 additions and 1 deletions
|
@ -1,3 +1,7 @@
|
|||
2001-02-26 Sven Wischnowsky <wischnow@zsh.org>
|
||||
|
||||
* 13530: Src/hist.c: properly restore noaliases in bufferwords()
|
||||
|
||||
2001-02-20 Sven Wischnowsky <wischnow@zsh.org>
|
||||
|
||||
* 13509: Src/jobs.c: more (|un)queue_signals(), this time for the
|
||||
|
|
|
@ -2151,6 +2151,7 @@ bufferwords(LinkList list, char *buf, int *index)
|
|||
{
|
||||
int num = 0, cur = -1, got = 0, ne = noerrs, ocs = cs, oll = ll;
|
||||
int owb = wb, owe = we, oadx = addedx, ozp = zleparse, onc = nocomments;
|
||||
int ona = noaliases;
|
||||
char *p;
|
||||
|
||||
if (!list)
|
||||
|
@ -2226,7 +2227,7 @@ bufferwords(LinkList list, char *buf, int *index)
|
|||
}
|
||||
if (cur < 0 && num)
|
||||
cur = num - 1;
|
||||
noaliases = 0;
|
||||
noaliases = ona;
|
||||
strinend();
|
||||
inpop();
|
||||
errflag = 0;
|
||||
|
|
Loading…
Reference in a new issue