unofficial mirror of bug-guile@gnu.org 
 help / color / mirror / Atom feed
From: Arun Isaac <arunisaac@systemreboot.net>
To: 37537@debbugs.gnu.org
Subject: bug#37537: [PATCH] doc: Fix order of arguments to seek.
Date: Sat, 28 Sep 2019 11:04:56 +0530	[thread overview]
Message-ID: <20190928053456.26030-1-arunisaac@systemreboot.net> (raw)

* doc/ref/r6rs.texi (rnrs io ports): Fix order of arguments to seek in
port-position and set-port-position! documentation.
---
 doc/ref/r6rs.texi | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/doc/ref/r6rs.texi b/doc/ref/r6rs.texi
index 9d326ff09..3f36fef0f 100644
--- a/doc/ref/r6rs.texi
+++ b/doc/ref/r6rs.texi
@@ -1739,7 +1739,7 @@ chapter.
 @end deffn
 
 @deffn {Scheme Procedure} port-position port
-Equivalent to @code{(seek @var{port} SEEK_CUR 0)}.  @xref{Random
+Equivalent to @code{(seek @var{port} 0 SEEK_CUR)}.  @xref{Random
 Access}.
 @end deffn
 
@@ -1748,7 +1748,7 @@ Return @code{#t} is @var{port} supports @code{port-position}.
 @end deffn
 
 @deffn {Scheme Procedure} set-port-position! port offset
-Equivalent to @code{(seek @var{port} SEEK_SET @var{offset})}.
+Equivalent to @code{(seek @var{port} @var{offset} SEEK_SET)}.
 @xref{Random Access}.
 @end deffn
 
-- 
2.23.0






             reply	other threads:[~2019-09-28  5:34 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2019-09-28  5:34 Arun Isaac [this message]
2020-06-18  7:20 ` bug#37537: [PATCH] doc: Fix order of arguments to seek Ludovic Courtès

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.gnu.org/software/guile/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20190928053456.26030-1-arunisaac@systemreboot.net \
    --to=arunisaac@systemreboot.net \
    --cc=37537@debbugs.gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).