summaryrefslogtreecommitdiff
path: root/scheme/geiser
diff options
context:
space:
mode:
authorJose Antonio Ortega Ruiz <jao@gnu.org>2009-02-09 12:14:04 +0100
committerJose Antonio Ortega Ruiz <jao@gnu.org>2009-02-09 12:14:04 +0100
commit6f7e0e15ac672b13efce7be815d4c550d3ecdf16 (patch)
tree4b7ecd8e0980f93951e81110989af2f67b8308db /scheme/geiser
parent4e7c148fef58281345c1d4d0815732e27977da71 (diff)
downloadgeiser-chez-6f7e0e15ac672b13efce7be815d4c550d3ecdf16.tar.gz
geiser-chez-6f7e0e15ac672b13efce7be815d4c550d3ecdf16.tar.bz2
Better argument position detection in autodoc.
Diffstat (limited to 'scheme/geiser')
-rw-r--r--scheme/geiser/introspection.scm2
1 files changed, 1 insertions, 1 deletions
diff --git a/scheme/geiser/introspection.scm b/scheme/geiser/introspection.scm
index eff9573..0c759d5 100644
--- a/scheme/geiser/introspection.scm
+++ b/scheme/geiser/introspection.scm
@@ -51,7 +51,7 @@
(req (first arity))
(opt (third arity)))
(format-args (map (lambda (n)
- (string->symbol (format "arg~A" n)))
+ (string->symbol (format "arg~A" (+ 1 n))))
(iota req))
(and opt 'rest))))