summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/geiser/doc.scm4
1 files changed, 1 insertions, 3 deletions
diff --git a/src/geiser/doc.scm b/src/geiser/doc.scm
index 2281da3..b566b5e 100644
--- a/src/geiser/doc.scm
+++ b/src/geiser/doc.scm
@@ -78,9 +78,7 @@
(define (program-arities prog)
(let ((addrs (program-address-range prog)))
- (if (pair? addrs)
- (find-program-arities (car addrs))
- '())))
+ (and (pair? addrs) (find-program-arities (car addrs)))))
(define (arguments proc)
(define (p-args prog)