diff options
-rw-r--r-- | libguile/ChangeLog | 5 | ||||
-rw-r--r-- | libguile/ports.c | 6 |
2 files changed, 8 insertions, 3 deletions
diff --git a/libguile/ChangeLog b/libguile/ChangeLog index 8ebcea4c1..23b5369d7 100644 --- a/libguile/ChangeLog +++ b/libguile/ChangeLog @@ -1,3 +1,8 @@ +2001-03-08 Neil Jerram <neil@ossau.uklinux.net> + + * ports.c (scm_port_column): Docstring fixes: (i) port-line arg is + not optional (ii) "recommend" spelling correction. + 2001-03-08 Mikael Djurfeldt <mdj@linnaeus.mit.edu> * ramap.c (racp): Removed optimization which caused array copying diff --git a/libguile/ports.c b/libguile/ports.c index f0111671e..313dea63e 100644 --- a/libguile/ports.c +++ b/libguile/ports.c @@ -1395,13 +1395,13 @@ SCM_DEFINE (scm_set_port_line_x, "set-port-line!", 2, 0, 0, SCM_DEFINE (scm_port_column, "port-column", 1, 0, 0, (SCM port), - "@deffnx primitive port-line [input-port]\n" - "Return the current column number or line number of @var{input-port},\n" + "@deffnx primitive port-line port\n" + "Return the current column number or line number of @var{port},\n" "using the current input port if none is specified. If the number is\n" "unknown, the result is #f. Otherwise, the result is a 0-origin integer\n" "- i.e. the first character of the first line is line 0, column 0.\n" "(However, when you display a file position, for example in an error\n" - "message, we recommand you add 1 to get 1-origin integers. This is\n" + "message, we recommend you add 1 to get 1-origin integers. This is\n" "because lines and column numbers traditionally start with 1, and that is\n" "what non-programmers will find most natural.)") #define FUNC_NAME s_scm_port_column |