diff options
author | Jose Antonio Ortega Ruiz <jao@gnu.org> | 2009-03-06 00:47:05 +0100 |
---|---|---|
committer | Jose Antonio Ortega Ruiz <jao@gnu.org> | 2009-03-06 00:47:05 +0100 |
commit | 7b77380c3fe79764648c47268dd3dcca5d48b32b (patch) | |
tree | c3c3c3664146aef055a082d3ff9c8e1b7157b99f /geiser/xref.scm | |
parent | a96b437ed38a25e09543cdaf761d9574776754bc (diff) | |
download | geiser-guile-7b77380c3fe79764648c47268dd3dcca5d48b32b.tar.gz geiser-guile-7b77380c3fe79764648c47268dd3dcca5d48b32b.tar.bz2 |
New command to display generic methods (C-cC-dg) implemented.
Diffstat (limited to 'geiser/xref.scm')
-rw-r--r-- | geiser/xref.scm | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/geiser/xref.scm b/geiser/xref.scm index 232d692..c94835a 100644 --- a/geiser/xref.scm +++ b/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))) |