Skip to content

Commit da9804f

Browse files
committed
Do not consume *print-length* on structure name
1 parent 0be45b3 commit da9804f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lisp/c/printer.c

+1-1
Original file line numberDiff line numberDiff line change
@@ -515,8 +515,8 @@ int prlevel;
515515
writestr(f,(byte *)"#s(",3);
516516
klass=classof(x);
517517
printsym(ctx,klass->c.cls.name,f);
518+
// structure name is always printed, and do not consume *print-length*
518519
s=objsize(x); varvec=klass->c.cls.vars->c.vec.v;
519-
prlength--;
520520
while (i<s && (nullprlen || prlength>0)) {
521521
writech(f,' ');
522522
printsym(ctx,varvec[i],f);

0 commit comments

Comments
 (0)