From a17bb5fdc22fae3b19c08ebd1becdf63fc929f17 Mon Sep 17 00:00:00 2001 From: Neil Jerram Date: Fri, 23 Mar 2001 16:14:47 +0000 Subject: [PATCH] * Fix docstring typos. --- libguile/ChangeLog | 7 +++++++ libguile/list.c | 2 +- libguile/strop.c | 3 ++- 3 files changed, 10 insertions(+), 2 deletions(-) diff --git a/libguile/ChangeLog b/libguile/ChangeLog index 6ca3b0526..42d81ecfe 100644 --- a/libguile/ChangeLog +++ b/libguile/ChangeLog @@ -1,3 +1,10 @@ +2001-03-23 Neil Jerram + + * strop.c (scm_string_index): Fix docstring line break + regression. + + * list.c (scm_cons_star): Fix docstring typo. + 2001-03-22 Dirk Herrmann * gc.c (scm_init_storage), gdbint.c (scm_init_gdbint), numbers.c diff --git a/libguile/list.c b/libguile/list.c index 5f809035d..d5b486bdf 100644 --- a/libguile/list.c +++ b/libguile/list.c @@ -99,7 +99,7 @@ SCM_DEFINE (scm_cons_star, "cons*", 1, 0, 1, (SCM arg, SCM rest), "Like @code{list}, but the last arg provides the tail of the\n" "constructed list, returning @code{(cons @var{arg1} (cons\n" - "@var{arg2} (cons @dots{} @var{argn}))). Requires at least one\n" + "@var{arg2} (cons @dots{} @var{argn})))}. Requires at least one\n" "argument. If given one argument, that argument is returned as\n" "result. This function is called @code{list*} in some other\n" "Schemes and in Common LISP.") diff --git a/libguile/strop.c b/libguile/strop.c index a7f2911ba..756478f08 100644 --- a/libguile/strop.c +++ b/libguile/strop.c @@ -104,7 +104,8 @@ SCM_DEFINE (scm_string_index, "string-index", 2, 2, 0, "@var{str}. The optional integer arguments @var{frm} and\n" "@var{to} limit the search to a portion of the string. This\n" "procedure essentially implements the @code{index} or\n" - "@code{strchr} functions from the C library.\n (qdocs:) Returns\n" + "@code{strchr} functions from the C library.\n\n" + "(qdocs:) Returns\n" "the index of @var{char} in @var{str}, or @code{#f} if the\n" "@var{char} isn't in @var{str}. If @var{frm} is given and not\n" "@code{#f}, it is used as the starting index; if @var{to} is\n"