* bug#20585: 'set-record-type-printer!' documentation mismatch
@ 2015-05-15 12:21 Mathieu Lirzin
2015-06-19 20:12 ` Mark H Weaver
0 siblings, 1 reply; 2+ messages in thread
From: Mathieu Lirzin @ 2015-05-15 12:21 UTC (permalink / raw)
To: 20585
[-- Attachment #1: Type: text/plain, Size: 90 bytes --]
Here is a patch correcting 'set-record-type-printer!' documentation.
--
Mathieu Lirzin
[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: 0001-doc-Fix-parameter-of-set-record-type-printer.patch --]
[-- Type: text/x-diff, Size: 1107 bytes --]
From 2f0f03f54935663f48b748e9c8bb650349b3d712 Mon Sep 17 00:00:00 2001
From: Mathieu Lirzin <mthl@openmailbox.org>
Date: Fri, 15 May 2015 13:27:54 +0200
Subject: [PATCH] doc: Fix parameter of 'set-record-type-printer!'.
* doc/ref/api-compound.texi (SRFI-9 Records)[set-record-type-printer!]:
Fix parameter name.
---
doc/ref/api-compound.texi | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/doc/ref/api-compound.texi b/doc/ref/api-compound.texi
index 8ec32d6..b4ae79c 100644
--- a/doc/ref/api-compound.texi
+++ b/doc/ref/api-compound.texi
@@ -2322,7 +2322,7 @@ 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-type-printer! name proc
+@deffn {Scheme Syntax} set-record-type-printer! type proc
Where @var{type} corresponds to the first argument of @code{define-record-type},
and @var{proc} is a procedure accepting two arguments, the record to print, and
an output port.
--
2.2.1
^ permalink raw reply related [flat|nested] 2+ messages in thread
* bug#20585: 'set-record-type-printer!' documentation mismatch
2015-05-15 12:21 bug#20585: 'set-record-type-printer!' documentation mismatch Mathieu Lirzin
@ 2015-06-19 20:12 ` Mark H Weaver
0 siblings, 0 replies; 2+ messages in thread
From: Mark H Weaver @ 2015-06-19 20:12 UTC (permalink / raw)
To: Mathieu Lirzin; +Cc: 20585-done
Mathieu Lirzin <mthl@openmailbox.org> writes:
> Here is a patch correcting 'set-record-type-printer!' documentation.
Pushed to stable-2.0, thanks!
Mark
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2015-06-19 20:12 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2015-05-15 12:21 bug#20585: 'set-record-type-printer!' documentation mismatch Mathieu Lirzin
2015-06-19 20:12 ` Mark H Weaver
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).