summaryrefslogtreecommitdiff
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
commitc709c1d7c7040ec45331444dd05025884c49ff5e (patch)
tree9e08a2a79461bd1aeaecd338fed66ee3db4ed92e
parent5807a76986be107dd9133facb9de21b518d05641 (diff)
downloadgeiser-guile-c709c1d7c7040ec45331444dd05025884c49ff5e.tar.gz
geiser-guile-c709c1d7c7040ec45331444dd05025884c49ff5e.tar.bz2
Guile: fix for autodoc in 1.9.7
-rw-r--r--geiser/doc.scm6
1 files changed, 3 insertions, 3 deletions
diff --git a/geiser/doc.scm b/geiser/doc.scm
index c7ad79d..120c97e 100644
--- a/geiser/doc.scm
+++ b/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)))