emacs-elpa-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[nongnu] elpa/geiser-guile c709c1d 106/284: Guile: fix for autodoc in 1.


From: Philip Kaludercic
Subject: [nongnu] elpa/geiser-guile c709c1d 106/284: Guile: fix for autodoc in 1.9.7
Date: Sun, 1 Aug 2021 18:29:25 -0400 (EDT)

branch: elpa/geiser-guile
commit c709c1d7c7040ec45331444dd05025884c49ff5e
Author: Jose Antonio Ortega Ruiz <jao@gnu.org>
Commit: Jose Antonio Ortega Ruiz <jao@gnu.org>

    Guile: fix for autodoc in 1.9.7
---
 geiser/doc.scm | 6 +++---
 1 file 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)))
 



reply via email to

[Prev in Thread] Current Thread [Next in Thread]