diff options
author | Jan (janneke) Nieuwenhuizen <janneke@gnu.org> | 2020-10-05 15:25:52 +0200 |
---|---|---|
committer | Jan (janneke) Nieuwenhuizen <janneke@gnu.org> | 2020-10-05 15:25:52 +0200 |
commit | 3db293a71dc93776ee262063d40b2e8304c49ac6 (patch) | |
tree | 770dcc8242677e1a8d14c1b3a81a05920a7cc52a /doc/ref | |
parent | bdb07f8fc7b37ef64498c7b06cd4457faf456189 (diff) | |
download | guile-3db293a71dc93776ee262063d40b2e8304c49ac6.tar.gz |
Document write-line.
* libguile/rdelim.c (SCM_DEFINE): Use "procedure" rather than
"function".
* doc/ref/api-io.texi (Line/Delimited): Use it to document 'write-line'.
Diffstat (limited to 'doc/ref')
-rw-r--r-- | doc/ref/api-io.texi | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/doc/ref/api-io.texi b/doc/ref/api-io.texi index 777f282e9..87d4af496 100644 --- a/doc/ref/api-io.texi +++ b/doc/ref/api-io.texi @@ -834,6 +834,17 @@ delimiter may be either a newline or the @var{eof-object}; if @code{(#<eof> . #<eof>)}. @end deffn +@deffn {Scheme Procedure} write-line obj [port] +@deffnx {C Function} scm_write_line (obj, port) +Display @var{obj} and a newline character to @var{port}. If +@var{port} is not specified, @code{(current-output-port)} is +used. This procedure is equivalent to: +@lisp +(display obj [port]) +(newline [port]) +@end lisp +@end deffn + @node Default Ports @subsection Default Ports for Input, Output and Errors @cindex Default ports |