summaryrefslogtreecommitdiff
path: root/elisp/geiser-xref.el
diff options
context:
space:
mode:
authorJose Antonio Ortega Ruiz <jao@gnu.org>2010-11-26 21:52:31 +0100
committerJose Antonio Ortega Ruiz <jao@gnu.org>2010-11-26 21:52:31 +0100
commit775b81c9be65b71a1d3090d5b80398a82ffc54f2 (patch)
tree48024b94444baf6edaaab5d1ffc4e862c0e6ddfb /elisp/geiser-xref.el
parent0233627d20dd483745c8386b2eb5ff26b355f854 (diff)
downloadgeiser-chez-775b81c9be65b71a1d3090d5b80398a82ffc54f2.tar.gz
geiser-chez-775b81c9be65b71a1d3090d5b80398a82ffc54f2.tar.bz2
Remove unnecessary calls to symbol-at-point
... which interns the symbol in the global obarray: rather unfriendly. We still need to remove a few calls to that beast, and avoid intern in the scheme reader.
Diffstat (limited to 'elisp/geiser-xref.el')
-rw-r--r--elisp/geiser-xref.el4
1 files changed, 2 insertions, 2 deletions
diff --git a/elisp/geiser-xref.el b/elisp/geiser-xref.el
index a93b7a8..661c625 100644
--- a/elisp/geiser-xref.el
+++ b/elisp/geiser-xref.el
@@ -104,8 +104,8 @@
(goto-char (point-min)))
(defun geiser-xref--read-name (ask prompt)
- (let ((name (or (and (not ask) (symbol-at-point))
- (read-string prompt nil nil (symbol-at-point)))))
+ (let ((name (or (and (not ask) (geiser--symbol-at-point))
+ (read-string prompt nil nil (geiser--symbol-at-point)))))
(and name (format "%s" name))))
(defun geiser-xref--fetch-xrefs (ask kind rkind proc)