Skip to content

Commit 3bef60c

Browse files
committed
Fix *print-length* on print-vector
1 parent 0f7711f commit 3bef60c

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

lisp/c/printer.c

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -403,7 +403,8 @@ int prlevel;
403403
writech(f,' ');}
404404
while (i<n && (nullprlen || prlength>0)) {
405405
prin1(ctx,vec->c.vec.v[i++],f,prlevel);
406-
if (i<n) writech(f,' '); }
406+
if (i<n) writech(f,' ');
407+
prlength--; }
407408
if (i<n) writestr(f,(byte *)"... ",4);
408409
writech(f,')');}
409410
return(vec);}

0 commit comments

Comments
 (0)