summaryrefslogtreecommitdiff
path: root/geiser/doc.scm
diff options
context:
space:
mode:
authorJose Antonio Ortega Ruiz <jao@gnu.org>2010-06-19 16:32:16 +0200
committerJose Antonio Ortega Ruiz <jao@gnu.org>2010-06-19 16:32:16 +0200
commitc732ede0663e2f014176b14d0ddd0d8970f38b65 (patch)
treea4e705668d7c6c64662050ffa37f831021cf4dcd /geiser/doc.scm
parentf1ac35fa6563827c16f175f3aedc285c58616bec (diff)
downloadgeiser-guile-c732ede0663e2f014176b14d0ddd0d8970f38b65.tar.gz
geiser-guile-c732ede0663e2f014176b14d0ddd0d8970f38b65.tar.bz2
Guile: no need to de-mangling autodoc args anymore.
Diffstat (limited to 'geiser/doc.scm')
-rw-r--r--geiser/doc.scm9
1 files changed, 3 insertions, 6 deletions
diff --git a/geiser/doc.scm b/geiser/doc.scm
index 85bf4d4..e1e27c1 100644
--- a/geiser/doc.scm
+++ b/geiser/doc.scm
@@ -38,14 +38,11 @@
(and args (signature name args))))
(define (signature id args-list)
- (define (rem-gensyms args)
- (map (lambda (s) (if (gensym? s) '_
- (if (list? s) (rem-gensyms s) s))) args))
(define (arglst args kind)
(let ((args (assq-ref args kind)))
- (rem-gensyms (cond ((or (not args) (null? args)) '())
- ((list? args) args)
- (else (list args))))))
+ (cond ((or (not args) (null? args)) '())
+ ((list? args) args)
+ (else (list args)))))
(define (mkargs as)
`((required ,@(arglst as 'required))
(optional ,@(arglst as 'optional)