diff options
author | Jose Antonio Ortega Ruiz <jao@gnu.org> | 2010-11-26 21:52:31 +0100 |
---|---|---|
committer | Jose Antonio Ortega Ruiz <jao@gnu.org> | 2010-11-26 21:52:31 +0100 |
commit | b30cc842ed1a0cab0b6e68375133820478ba12bd (patch) | |
tree | 109496adc18151363cec4df83073a9b8d03502f4 /elisp/geiser-edit.el | |
parent | 2b6842504ef1609ab736307decbc55d97c575cf8 (diff) | |
download | geiser-b30cc842ed1a0cab0b6e68375133820478ba12bd.tar.gz geiser-b30cc842ed1a0cab0b6e68375133820478ba12bd.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-edit.el')
-rw-r--r-- | elisp/geiser-edit.el | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/elisp/geiser-edit.el b/elisp/geiser-edit.el index 8c34c28..8fa979f 100644 --- a/elisp/geiser-edit.el +++ b/elisp/geiser-edit.el @@ -201,7 +201,7 @@ or following links in error buffers.") "Opens a new window visiting the definition of the symbol at point. With prefix, asks for the symbol to edit." (interactive "P") - (let* ((symbol (or (and (not arg) (symbol-at-point)) + (let* ((symbol (or (and (not arg) (geiser--symbol-at-point)) (geiser-completion--read-symbol "Edit symbol: "))) (cmd `(:eval (:ge symbol-location ',symbol))) (marker (point-marker))) |