diff --git a/doc/ref/api-compound.texi b/doc/ref/api-compound.texi index c551c4d10..f3fe9584a 100644 --- a/doc/ref/api-compound.texi +++ b/doc/ref/api-compound.texi @@ -2797,11 +2797,11 @@ structure. @example (make-vtable "prpw" (lambda (struct port) - (display "#<") - (display (struct-ref 0)) - (display " and ") - (display (struct-ref 1)) - (display ">"))) + (display "#<" port) + (display (struct-ref struct 0) port) + (display " and " port) + (display (struct-ref struct 1) port) + (display ">" port))) @end example @end deffn