From 5a90a263275dc0b533185c89416f9b99044dc341 Mon Sep 17 00:00:00 2001 From: Kevin Ryde Date: Sat, 3 May 2003 23:00:53 +0000 Subject: [PATCH] (Reading): In read-char and peek-char, fix typos "?" in @rnindex. In port-column, use @: after i.e. (Writing): In get-print-state, two spaces after full stop. --- doc/ref/scheme-io.texi | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/doc/ref/scheme-io.texi b/doc/ref/scheme-io.texi index 7c6a2054a..8163fb0fd 100644 --- a/doc/ref/scheme-io.texi +++ b/doc/ref/scheme-io.texi @@ -87,7 +87,7 @@ a port at end of file would be indistinguishable from an interactive port that has no ready characters.} @end deffn -@rnindex read-char? +@rnindex read-char @deffn {Scheme Procedure} read-char [port] @deffnx {C Function} scm_read_char (port) Return the next character available from @var{port}, updating @@ -95,7 +95,7 @@ Return the next character available from @var{port}, updating characters are available, the end-of-file object is returned. @end deffn -@rnindex peek-char? +@rnindex peek-char @deffn {Scheme Procedure} peek-char [port] @deffnx {C Function} scm_peek_char (port) Return the next character available from @var{port}, @@ -154,7 +154,7 @@ for further input. Return the current column number or line number of @var{port}, using the current input port if none is specified. If the number is unknown, the result is #f. Otherwise, the result is a 0-origin integer -- i.e. the first character of the first line is line 0, column 0. +- i.e.@: the first character of the first line is line 0, column 0. (However, when you display a file position, for example in an error message, we recommend you add 1 to get 1-origin integers. This is because lines and column numbers traditionally start with 1, and that is @@ -176,7 +176,7 @@ current input port if none is specified. @deffn {Scheme Procedure} get-print-state port @deffnx {C Function} scm_get_print_state (port) -Return the print state of the port @var{port}. If @var{port} +Return the print state of the port @var{port}. If @var{port} has no associated print state, @code{#f} is returned. @end deffn