summaryrefslogtreecommitdiff
path: root/scheme
diff options
context:
space:
mode:
authorJose Antonio Ortega Ruiz <jao@gnu.org>2009-02-12 22:47:34 +0100
committerJose Antonio Ortega Ruiz <jao@gnu.org>2009-02-12 22:47:34 +0100
commit09c532a18d33ab2e0a3dcb3a38e746992e3381aa (patch)
tree8501dc3786cdaa06d7f11e346e23a7d5c2fe5692 /scheme
parentfa17e0cb3367e68e8db386497ddcfe3cfcf96416 (diff)
downloadgeiser-guile-09c532a18d33ab2e0a3dcb3a38e746992e3381aa.tar.gz
geiser-guile-09c532a18d33ab2e0a3dcb3a38e746992e3381aa.tar.bz2
Faster M-.
Diffstat (limited to 'scheme')
-rw-r--r--scheme/guile/geiser/introspection.scm6
1 files changed, 2 insertions, 4 deletions
diff --git a/scheme/guile/geiser/introspection.scm b/scheme/guile/geiser/introspection.scm
index 136ada3..7fce4c9 100644
--- a/scheme/guile/geiser/introspection.scm
+++ b/scheme/guile/geiser/introspection.scm
@@ -112,9 +112,7 @@
(make-location (module-filename name) #f))
(define (symbol-location sym)
- (let ((prog (resolve-symbol sym)))
- (cond ((program? prog) (program-location prog))
- ((symbol-module sym) => make-location-from-module-name)
- (else '()))))
+ (cond ((symbol-module sym) => make-location-from-module-name)
+ (else '())))
;;; introspection.scm ends here