branch: elpa/geiser-guile
commit 4bc26f8f7b834ed7c54ffc93e6de0b2b3fce2107
Author: Jose Antonio Ortega Ruiz <[email protected]>
Commit: Jose Antonio Ortega Ruiz <[email protected]>
kludgy fix for opt/key/rest markers in autodoc
---
geiser/doc.scm | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/geiser/doc.scm b/geiser/doc.scm
index c61502e..e7640e6 100644
--- a/geiser/doc.scm
+++ b/geiser/doc.scm
@@ -76,9 +76,9 @@
(key (arglst args 'keyword))
(rest (assq-ref args 'rest)))
(let ((sgn `(,fun ,@req
- ,@(if (not (null? opt)) (cons #:opt opt) '())
- ,@(if (not (null? key)) (cons #:key key) '()))))
- (if rest `(,@sgn #:rest ,rest) sgn))))
+ ,@(if (not (null? opt)) (cons 'geiser-opt_marker opt)
'())
+ ,@(if (not (null? key)) (cons 'geiser-key_maker key)
'()))))
+ (if rest `(,@sgn 'geiser-rest_marker ,rest) sgn))))
(define (find-position args form)
(let* ((lf (length form))