From 85de1eae0bbd3e94fa73cb56cb847d3edff99f59 Mon Sep 17 00:00:00 2001 From: Sven Wischnowsky Date: Mon, 26 Feb 2001 09:43:08 +0000 Subject: properly restore noaliases in bufferwords() (13530) --- Src/hist.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'Src') diff --git a/Src/hist.c b/Src/hist.c index 138cb1bf5..0f4fbb9d2 100644 --- a/Src/hist.c +++ b/Src/hist.c @@ -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; -- cgit 1.4.1