emacs-bug-tracker
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[debbugs-tracker] bug#24207: closed (Fixing documentation example for ma


From: GNU bug Tracking System
Subject: [debbugs-tracker] bug#24207: closed (Fixing documentation example for make-custom-binary-input-port)
Date: Wed, 31 Aug 2016 13:53:01 +0000

Your message dated Wed, 31 Aug 2016 15:51:50 +0200
with message-id <address@hidden>
and subject line Re: bug#24207: Fixing documentation example for 
make-custom-binary-input-port
has caused the debbugs.gnu.org bug report #24207,
regarding Fixing documentation example for make-custom-binary-input-port
to be marked as done.

(If you believe you have received this mail in error, please contact
address@hidden)


-- 
24207: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=24207
GNU Bug Tracking System
Contact address@hidden with problems
--- Begin Message --- Subject: Fixing documentation example for make-custom-binary-input-port Date: Thu, 11 Aug 2016 15:13:23 -0500 User-agent: mu4e 0.9.16; emacs 24.5.1
The example previously did not run, because it was missing the "closed"
parameter.  Fixed.

>From abed180e8ea3ada5c4e156165f0b5e648d517ba2 Mon Sep 17 00:00:00 2001
From: Christopher Allan Webber <address@hidden>
Date: Thu, 11 Aug 2016 15:10:19 -0500
Subject: [PATCH] Fix example in make-custom-binary-input-port documentation

* doc/ref/api-io.texi (Custom Ports): Add additional argument to example's
  invocation of make-custom-binary-input-port.  Previously had mismatched arity
  by missing "closed" argument.
---
 doc/ref/api-io.texi | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/doc/ref/api-io.texi b/doc/ref/api-io.texi
index 76c8db8..e4e4f36 100644
--- a/doc/ref/api-io.texi
+++ b/doc/ref/api-io.texi
@@ -1,7 +1,7 @@
 @c -*-texinfo-*-
 @c This is part of the GNU Guile Reference Manual.
 @c Copyright (C)  1996, 1997, 2000, 2001, 2002, 2003, 2004, 2007, 2009,
address@hidden   2010, 2011, 2013  Free Software Foundation, Inc.
address@hidden   2010, 2011, 2013, 2016  Free Software Foundation, Inc.
 @c See the file guile.texi for copying conditions.
 
 @node Input and Output
@@ -1278,8 +1278,8 @@ procedure (@pxref{Bytevector Ports}) could be implemented 
as follows:
     (set! position new-position))
 
   (make-custom-binary-input-port "the port" read!
-                                  get-position
-                                  set-position!))
+                                  get-position set-position!
+                                  #f))
 
 (read (open-bytevector-input-port (string->utf8 "hello")))
 @result{} hello
-- 
2.9.2


--- End Message ---
--- Begin Message --- Subject: Re: bug#24207: Fixing documentation example for make-custom-binary-input-port Date: Wed, 31 Aug 2016 15:51:50 +0200 User-agent: Gnus/5.13 (Gnus v5.13) Emacs/24.5 (gnu/linux)
On Thu 11 Aug 2016 22:13, Christopher Allan Webber <address@hidden> writes:

> The example previously did not run, because it was missing the "closed"
> parameter.  Fixed.

Applied, thanks :)


--- End Message ---

reply via email to

[Prev in Thread] Current Thread [Next in Thread]