summaryrefslogtreecommitdiff
path: root/module/texinfo/string-utils.scm
diff options
context:
space:
mode:
authorBake Timmons <b3timmons@speedymail.org>2012-01-11 23:55:18 -0500
committerAndy Wingo <wingo@pobox.com>2012-02-02 12:24:40 +0100
commit91a214ebd989fab6596ff24b7cad945f0dfc60a9 (patch)
tree9c597cb1f581bb52d17dd49b8b60c02f8cc493f5 /module/texinfo/string-utils.scm
parentb7e64f8b266651e5b3fae6f664a45468f0c4907f (diff)
downloadguile-91a214ebd989fab6596ff24b7cad945f0dfc60a9.tar.gz
Improve the usage of variable names in Scheme docstrings.
* module/ice-9/boot-9.scm: * module/ice-9/popen.scm: * module/ice-9/pretty-print.scm: * module/ice-9/r4rs.scm: * module/rnrs/io/ports.scm: * module/texinfo/string-utils.scm: * module/web/http.scm: * module/web/request.scm: * module/web/response.scm: * test-suite/vm/run-vm-tests.scm: Make the variable names in Scheme docstrings more consistent. Replace a few instances of @var with @code when appropriate.
Diffstat (limited to 'module/texinfo/string-utils.scm')
-rw-r--r--module/texinfo/string-utils.scm4
1 files changed, 2 insertions, 2 deletions
diff --git a/module/texinfo/string-utils.scm b/module/texinfo/string-utils.scm
index eff914369..767514952 100644
--- a/module/texinfo/string-utils.scm
+++ b/module/texinfo/string-utils.scm
@@ -160,7 +160,7 @@ characters. Any needed padding is done by character @var{chr}, which
defaults to @samp{#\\space}. If @var{rchr} is provided, then the
padding to the right will use it instead. See the examples below.
left and @var{rchr} on the right. The default @var{width} is 80. The
-default @var{lchr} and @var{rchr} is @samp{#\\space}. The string is
+default @var{chr} and @var{rchr} is @samp{#\\space}. The string is
never truncated.
@lisp
(center-string \"Richard Todd\" 24)
@@ -392,7 +392,7 @@ in @code{make-text-wrapper}."
(define (fill-string str . kwargs)
"Wraps the text given in string @var{str} according to the parameters
-provided in @var{keywds}, or the default setting if they are not
+provided in @var{kwargs}, or the default setting if they are not
given. Returns a single string with the wrapped text. Valid keyword
arguments are discussed in @code{make-text-wrapper}."
(string-join (apply string->wrapped-lines str kwargs)