summaryrefslogtreecommitdiff
path: root/doc/ref/scheme-io.texi
diff options
context:
space:
mode:
authorKevin Ryde <user42@zip.com.au>2003-09-12 23:55:03 +0000
committerKevin Ryde <user42@zip.com.au>2003-09-12 23:55:03 +0000
commiteaa032c38924d177ddd34f703ea12f9a88d5f0e3 (patch)
treeeb5506b94a3f29709f7744371a8f708148a03f46 /doc/ref/scheme-io.texi
parent7743d628c6a04b396703451d868c14c50047dfb6 (diff)
downloadguile-eaa032c38924d177ddd34f703ea12f9a88d5f0e3.tar.gz
(Reading): In port-column, port-line,
set-port-column! and set-port-line!, port parameter must be given, there's no default to current input.
Diffstat (limited to 'doc/ref/scheme-io.texi')
-rw-r--r--doc/ref/scheme-io.texi7
1 files changed, 3 insertions, 4 deletions
diff --git a/doc/ref/scheme-io.texi b/doc/ref/scheme-io.texi
index 2ca70193e..729bad755 100644
--- a/doc/ref/scheme-io.texi
+++ b/doc/ref/scheme-io.texi
@@ -176,8 +176,8 @@ for further input.
@deffnx {Scheme Procedure} port-line port
@deffnx {C Function} scm_port_column (port)
@deffnx {C Function} scm_port_line (port)
-Return the current column number or line number of @var{port},
-using the current input port if none is specified. If the number is
+Return the current column number or line number of @var{port}.
+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.
(However, when you display a file position, for example in an error
@@ -190,8 +190,7 @@ what non-programmers will find most natural.)
@deffnx {Scheme Procedure} set-port-line! port line
@deffnx {C Function} scm_set_port_column_x (port, column)
@deffnx {C Function} scm_set_port_line_x (port, line)
-Set the current column or line number of @var{port}, using the
-current input port if none is specified.
+Set the current column or line number of @var{port}.
@end deffn
@node Writing