mirror of
https://git.savannah.gnu.org/git/guile.git
synced 2025-06-14 15:40:19 +02:00
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.
This commit is contained in:
parent
b7e64f8b26
commit
91a214ebd9
10 changed files with 16 additions and 16 deletions
|
@ -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)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue