From fb0a63e879117661175e37fd42c089ee25cadf34 Mon Sep 17 00:00:00 2001 From: Andy Wingo Date: Mon, 2 Mar 2009 15:46:17 +0100 Subject: [PATCH] fix printer in struct docs * doc/ref/api-compound.texi (Vtables): Fix example printer. --- doc/ref/api-compound.texi | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) 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