summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--libguile/ChangeLog8
-rw-r--r--libguile/root.c2
-rw-r--r--libguile/struct.c2
3 files changed, 10 insertions, 2 deletions
diff --git a/libguile/ChangeLog b/libguile/ChangeLog
index baeddb9d2..0d66d903e 100644
--- a/libguile/ChangeLog
+++ b/libguile/ChangeLog
@@ -1,3 +1,11 @@
+2000-09-22 Neil Jerram <neil@ossau.uklinux.net>
+
+ * struct.c (scm_make_struct): Fix texinfo warning in docstring by
+ using @pxref rather than @xref.
+
+ * root.c (scm_call_with_dynamic_root): Fix texinfo warning in
+ docstring by using @code for (thunk) rather than @var.
+
2000-09-20 Marius Vollmer <mvo@zagadka.ping.de>
* numbers.c (scm_istr2flo): Throw an `out of range' error when
diff --git a/libguile/root.c b/libguile/root.c
index 0a8c7a92d..58fcf75d3 100644
--- a/libguile/root.c
+++ b/libguile/root.c
@@ -335,7 +335,7 @@ cwdr (SCM proc, SCM a1, SCM args, SCM handler, SCM_STACKITEM *stack_start)
SCM_DEFINE (scm_call_with_dynamic_root, "call-with-dynamic-root", 2, 0, 0,
(SCM thunk, SCM handler),
- "Evaluate @var{(thunk)} in a new dynamic context, returning its value.\n\n"
+ "Evaluate @code{(thunk)} in a new dynamic context, returning its value.\n\n"
"If an error occurs during evaluation, apply @var{handler} to the\n"
"arguments to the throw, just as @code{throw} would. If this happens,\n"
"@var{handler} is called outside the scope of the new root -- it is\n"
diff --git a/libguile/struct.c b/libguile/struct.c
index 5f36eb958..2a5fff75c 100644
--- a/libguile/struct.c
+++ b/libguile/struct.c
@@ -410,7 +410,7 @@ scm_free_structs (void *dummy1, void *dummy2, void *dummy3)
SCM_DEFINE (scm_make_struct, "make-struct", 2, 0, 1,
(SCM vtable, SCM tail_array_size, SCM init),
"Create a new structure.\n\n"
- "@var{type} must be a vtable structure (@xref{Vtables}).\n\n"
+ "@var{type} must be a vtable structure (@pxref{Vtables}).\n\n"
"@var{tail-elts} must be a non-negative integer. If the layout\n"
"specification indicated by @var{type} includes a tail-array,\n"
"this is the number of elements allocated to that array.\n\n"