summaryrefslogtreecommitdiff
path: root/scheme/guile/geiser/doc.scm
diff options
context:
space:
mode:
authorJose Antonio Ortega Ruiz <jao@gnu.org>2010-01-24 17:14:45 +0100
committerJose Antonio Ortega Ruiz <jao@gnu.org>2010-01-24 17:14:45 +0100
commitaa02b8c828bc4468e15324a68f8d97a46ca21a87 (patch)
treee5d27e7867eb73f241888a6ffce0d4f9da4cea36 /scheme/guile/geiser/doc.scm
parentc40f4db9dce660802f1173e281d9a1e139ebd819 (diff)
downloadgeiser-guile-aa02b8c828bc4468e15324a68f8d97a46ca21a87.tar.gz
geiser-guile-aa02b8c828bc4468e15324a68f8d97a46ca21a87.tar.bz2
Guile: fix for autodoc in 1.9.7
Diffstat (limited to 'scheme/guile/geiser/doc.scm')
-rw-r--r--scheme/guile/geiser/doc.scm6
1 files changed, 3 insertions, 3 deletions
diff --git a/scheme/guile/geiser/doc.scm b/scheme/guile/geiser/doc.scm
index c7ad79d..120c97e 100644
--- a/scheme/guile/geiser/doc.scm
+++ b/scheme/guile/geiser/doc.scm
@@ -1,6 +1,6 @@
;;; doc.scm -- procedures providing documentation on scheme objects
-;; Copyright (C) 2009 Jose Antonio Ortega Ruiz
+;; Copyright (C) 2009, 2010 Jose Antonio Ortega Ruiz
;; This program is free software; you can redistribute it and/or
;; modify it under the terms of the Modified BSD License. You should
@@ -60,15 +60,15 @@
(define (arguments proc)
(define (p-arguments prog)
- (map (lambda (a) ((@@ (system vm program) arity->arguments) prog a))
+ (map (lambda (a) ((@@ (system vm program) arity->arguments-alist) prog a))
(or (program-arities prog) '())))
(define (clist f) (lambda (x) (let ((y (f x))) (and y (list y)))))
(cond ((is-a? proc <generic>) (generic-args proc))
((procedure-property proc 'arglist) => (clist arglist->args))
((procedure-source proc) => (clist source->args))
+ ((doc->args proc) => list)
((program? proc) (let ((a (p-arguments proc)))
(and (not (null? a)) a)))
- ((doc->args proc) => list)
((procedure-property proc 'arity) => (clist arity->args))
(else #f)))