summaryrefslogtreecommitdiff
path: root/libguile/macros.c
diff options
context:
space:
mode:
authorNeil Jerram <neil@ossau.uklinux.net>2000-08-11 15:12:37 +0000
committerNeil Jerram <neil@ossau.uklinux.net>2000-08-11 15:12:37 +0000
commit872e0c7291add805ac889b31ae7e5cbf0122bbaa (patch)
treed718ce73df5b36e6190b3ce4784f1806051dbbf8 /libguile/macros.c
parent41d7d2af429d0901f0aaff881ee432f5a241b3df (diff)
downloadguile-872e0c7291add805ac889b31ae7e5cbf0122bbaa.tar.gz
* macros.c: Remove surplus newlines from end of docstrings.
* list.c (scm_list_tail): Add @deffnx line to docstring for list-cdr-ref. * keywords.c: Docstring improvements in conjunction with new reference manual doc on keywords. * error.c (scm_error_scm): Fix texinfo syntax error in docstring. (@code(~S) should be @code{~S}.) * dynl.c: Remove surplus newlines from end of docstrings.
Diffstat (limited to 'libguile/macros.c')
-rw-r--r--libguile/macros.c24
1 files changed, 12 insertions, 12 deletions
diff --git a/libguile/macros.c b/libguile/macros.c
index 9cc280c22..16562fcb9 100644
--- a/libguile/macros.c
+++ b/libguile/macros.c
@@ -69,17 +69,17 @@ SCM_DEFINE (scm_makacro, "procedure->syntax", 1, 0, 0,
SCM_DEFINE (scm_makmacro, "procedure->macro", 1, 0, 0,
(SCM code),
"Returns a @dfn{macro} which, when a symbol defined to this value\n"
- "appears as the first symbol in an expression, evaluates the result\n"
- "of applying @var{code} to the expression and the environment.\n"
- "The value returned from @var{code} which has been passed to\n"
- "@code{procedure->memoizing-macro} replaces the form passed to\n"
- "@var{code}. For example:\n\n"
- "@example\n"
- "(define trace\n"
- " (procedure->macro\n"
- " (lambda (x env) `(set! ,(cadr x) (tracef ,(cadr x) ',(cadr x))))))\n\n"
- "(trace @i{foo}) @equiv{} (set! @i{foo} (tracef @i{foo} '@i{foo})).\n"
- "@end example\n")
+ "appears as the first symbol in an expression, evaluates the result\n"
+ "of applying @var{code} to the expression and the environment.\n"
+ "The value returned from @var{code} which has been passed to\n"
+ "@code{procedure->memoizing-macro} replaces the form passed to\n"
+ "@var{code}. For example:\n\n"
+ "@example\n"
+ "(define trace\n"
+ " (procedure->macro\n"
+ " (lambda (x env) `(set! ,(cadr x) (tracef ,(cadr x) ',(cadr x))))))\n\n"
+ "(trace @i{foo}) @equiv{} (set! @i{foo} (tracef @i{foo} '@i{foo})).\n"
+ "@end example")
#define FUNC_NAME s_scm_makmacro
{
SCM_VALIDATE_PROC (1,code);
@@ -101,7 +101,7 @@ SCM_DEFINE (scm_makmmacro, "procedure->memoizing-macro", 1, 0, 0,
" (procedure->macro\n"
" (lambda (x env) `(set! ,(cadr x) (tracef ,(cadr x) ',(cadr x))))))\n\n"
"(trace @i{foo}) @equiv{} (set! @i{foo} (tracef @i{foo} '@i{foo})).\n"
- "@end example\n")
+ "@end example")
#define FUNC_NAME s_scm_makmmacro
{
SCM_VALIDATE_PROC (1,code);