summaryrefslogtreecommitdiff
path: root/geiser/introspection.scm
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
commitb853bac0c8d7682cf9eae5ffc4d41d6d8caeab6e (patch)
treed67d634b94cc5ef08db015837832e85c0f88a00f /geiser/introspection.scm
parentfe4864246c62fbdab1eb5606ba27aaeb3a9ab7cc (diff)
downloadgeiser-guile-b853bac0c8d7682cf9eae5ffc4d41d6d8caeab6e.tar.gz
geiser-guile-b853bac0c8d7682cf9eae5ffc4d41d6d8caeab6e.tar.bz2
Faster M-.
Diffstat (limited to 'geiser/introspection.scm')
-rw-r--r--geiser/introspection.scm6
1 files changed, 2 insertions, 4 deletions
diff --git a/geiser/introspection.scm b/geiser/introspection.scm
index 136ada3..7fce4c9 100644
--- a/geiser/introspection.scm
+++ b/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