summaryrefslogtreecommitdiff
path: root/elisp/geiser-company.el
diff options
context:
space:
mode:
authorJose Antonio Ortega Ruiz <jao@gnu.org>2010-11-26 14:45:00 +0100
committerJose Antonio Ortega Ruiz <jao@gnu.org>2010-11-26 14:45:00 +0100
commitc6e745e306a294288a14a6bf2c0d3056b4a637aa (patch)
tree501af33e9103ee493249e40cf6dfa74a3955a58c /elisp/geiser-company.el
parent1b36531863a45d1ba714b21500069bc6319ee31f (diff)
downloadgeiser-c6e745e306a294288a14a6bf2c0d3056b4a637aa.tar.gz
geiser-c6e745e306a294288a14a6bf2c0d3056b4a637aa.tar.bz2
Bug fix: don't intern symbols read by scheme reader
We were calling `intern' instead of `make-symbol', polluting emacs' obarray.
Diffstat (limited to 'elisp/geiser-company.el')
-rw-r--r--elisp/geiser-company.el4
1 files changed, 2 insertions, 2 deletions
diff --git a/elisp/geiser-company.el b/elisp/geiser-company.el
index eadce93..d6f89e1 100644
--- a/elisp/geiser-company.el
+++ b/elisp/geiser-company.el
@@ -32,7 +32,7 @@
(ignore-errors
(if module
(format "%s [module]" id)
- (or (geiser-autodoc--autodoc (list (list (intern id) 0)) t)
+ (or (geiser-autodoc--autodoc (list (list (make-symbol id) 0)) t)
(format "%s [local id]" id)))))
(defsubst geiser-company--doc-buffer (id module)
@@ -40,7 +40,7 @@
(defun geiser-company--location (id module)
(ignore-errors
- (let ((id (intern id)))
+ (let ((id (make-symbol id)))
(save-excursion
(if module
(geiser-edit-module id 'noselect)