summaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
authorNo Itisnt <theseaisinhere+git@gmail.com>2010-05-26 21:34:29 -0500
committerNo Itisnt <theseaisinhere+git@gmail.com>2010-05-27 14:09:56 -0500
commit45f3d9b6db2091fed4767d8d5c9440f68d4da047 (patch)
tree0d974b61a3c8bf5486a0242ef512bdfac383ead1 /doc
parent3d82d9a62df61079fac8249a87719e6bbf35f3e5 (diff)
downloadguile-45f3d9b6db2091fed4767d8d5c9440f68d4da047.tar.gz
Rename set-record-printer!
* doc/ref/srfi-modules.texi: set-record-printer! -> set-record-type-printer!
Diffstat (limited to 'doc')
-rw-r--r--doc/ref/srfi-modules.texi5
1 files changed, 2 insertions, 3 deletions
diff --git a/doc/ref/srfi-modules.texi b/doc/ref/srfi-modules.texi
index a1d3c8d5f..08b11e0d2 100644
--- a/doc/ref/srfi-modules.texi
+++ b/doc/ref/srfi-modules.texi
@@ -1924,12 +1924,11 @@ desired, exported from a module, etc.
@unnumberedsubsubsec Custom Printers
-You may use @code{set-record-printer!} to customize the default printing
+You may use @code{set-record-type-printer!} to customize the default printing
behavior of records. This is a Guile extension and is not part of SRFI-9. It is
located in the @nicode{(srfi srfi-9 gnu)} module.
-
-@deffn {Scheme Syntax} set-record-printer! name thunk
+@deffn {Scheme Syntax} set-record-type-printer! name thunk
Where @var{type} corresponds to the first argument of @code{define-record-type},
and @var{thunk} is a procedure accepting two arguments, the record to print, and
an output port.