summaryrefslogtreecommitdiff
path: root/elisp
diff options
context:
space:
mode:
authorJose Antonio Ortega Ruiz <jao@gnu.org>2010-11-26 23:11:47 +0100
committerJose Antonio Ortega Ruiz <jao@gnu.org>2010-11-26 23:11:47 +0100
commitf5a22dec2bee961d852e242b8eed561c178a801f (patch)
tree73cd0733ad9aee64e0466583452635d4a06c969e /elisp
parent9aedb7dd472ca9d842ea2a6b9c412c66e3d2b849 (diff)
downloadgeiser-f5a22dec2bee961d852e242b8eed561c178a801f.tar.gz
geiser-f5a22dec2bee961d852e242b8eed561c178a801f.tar.bz2
A couple of uses of intern replaced by make-symbol
These ones seem safe: the resulting symbol is not compared for equality anywhere.
Diffstat (limited to 'elisp')
-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..b8381c9 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 (format "%s" 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)