summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--libguile/ChangeLog5
-rw-r--r--libguile/stacks.c5
2 files changed, 7 insertions, 3 deletions
diff --git a/libguile/ChangeLog b/libguile/ChangeLog
index f8e6c3436..11001fb3b 100644
--- a/libguile/ChangeLog
+++ b/libguile/ChangeLog
@@ -1,3 +1,8 @@
+2006-08-11 Neil Jerram <neil@ossau.uklinux.net>
+
+ * stacks.c (scm_last_stack_frame): Correct docstring (returns a
+ frame, not a stack).
+
2006-07-18 Rob Browning <rlb@defaultvalue.org>
* continuations.c: Add __attribute__ ((returns_twice)) to the
diff --git a/libguile/stacks.c b/libguile/stacks.c
index 9457ccc13..de85522ca 100644
--- a/libguile/stacks.c
+++ b/libguile/stacks.c
@@ -581,9 +581,8 @@ SCM_DEFINE (scm_frame_p, "frame?", 1, 0, 0,
SCM_DEFINE (scm_last_stack_frame, "last-stack-frame", 1, 0, 0,
(SCM obj),
- "Return a stack which consists of a single frame, which is the\n"
- "last stack frame for @var{obj}. @var{obj} must be either a\n"
- "debug object or a continuation.")
+ "Return the last (innermost) frame of @var{obj}, which must be\n"
+ "either a debug object or a continuation.")
#define FUNC_NAME s_scm_last_stack_frame
{
scm_t_debug_frame *dframe;