emacs-elpa-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[nongnu] elpa/geiser-guile b853bac 009/284: Faster M-.


From: Philip Kaludercic
Subject: [nongnu] elpa/geiser-guile b853bac 009/284: Faster M-.
Date: Sun, 1 Aug 2021 18:29:06 -0400 (EDT)

branch: elpa/geiser-guile
commit b853bac0c8d7682cf9eae5ffc4d41d6d8caeab6e
Author: Jose Antonio Ortega Ruiz <jao@gnu.org>
Commit: Jose Antonio Ortega Ruiz <jao@gnu.org>

    Faster M-.
---
 geiser/introspection.scm | 6 ++----
 1 file 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



reply via email to

[Prev in Thread] Current Thread [Next in Thread]