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
commit801422d1558f488059ede4f9abab5163ca610900 (patch)
treea76033f766600746ca8c7272577403b3255f0ebf /elisp/geiser-company.el
parentf661d7c70bd04542d8bbb4da9c9f70b6d6c95791 (diff)
downloadgeiser-chez-801422d1558f488059ede4f9abab5163ca610900.tar.gz
geiser-chez-801422d1558f488059ede4f9abab5163ca610900.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)