From 754aa7a194c412f52b4733142566ed5e33a04f4f Mon Sep 17 00:00:00 2001 From: Jose Antonio Ortega Ruiz Date: Fri, 6 Mar 2009 00:47:05 +0100 Subject: New command to display generic methods (C-cC-dg) implemented. --- scheme/guile/geiser/xref.scm | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'scheme/guile') diff --git a/scheme/guile/geiser/xref.scm b/scheme/guile/geiser/xref.scm index 232d692..c94835a 100644 --- a/scheme/guile/geiser/xref.scm +++ b/scheme/guile/geiser/xref.scm @@ -51,7 +51,8 @@ '()))) (define (program-location p) - (cond ((program-source p 0) => + (cond ((not (program? p)) '()) + ((program-source p 0) => (lambda (s) (make-location (program-path p) (source:line s)))) ((program-path p) => (lambda (s) (make-location (program-path p) #f))) -- cgit v1.2.3