summaryrefslogtreecommitdiff
path: root/scheme/guile
diff options
context:
space:
mode:
authorJose Antonio Ortega Ruiz <jao@gnu.org>2009-03-06 00:47:05 +0100
committerJose Antonio Ortega Ruiz <jao@gnu.org>2009-03-06 00:47:05 +0100
commit754aa7a194c412f52b4733142566ed5e33a04f4f (patch)
tree7296e1cfde7208e5c244e72355eab820c6de2470 /scheme/guile
parent9e91cef8b3d10e7eab88cc16d425fefc36c7321d (diff)
downloadgeiser-chez-754aa7a194c412f52b4733142566ed5e33a04f4f.tar.gz
geiser-chez-754aa7a194c412f52b4733142566ed5e33a04f4f.tar.bz2
New command to display generic methods (C-cC-dg) implemented.
Diffstat (limited to 'scheme/guile')
-rw-r--r--scheme/guile/geiser/xref.scm3
1 files changed, 2 insertions, 1 deletions
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)))