diff options
author | Jose Antonio Ortega Ruiz <jao@gnu.org> | 2010-11-26 23:11:47 +0100 |
---|---|---|
committer | Jose Antonio Ortega Ruiz <jao@gnu.org> | 2010-11-26 23:11:47 +0100 |
commit | 96610db57a61d5380eeeb3b4780846c39fb79422 (patch) | |
tree | cfdffb1607da93344d4936b9438033783aa3270b | |
parent | 88c56a06fd1d006f1d41dfce16c89da79e03bb5b (diff) | |
download | geiser-chez-96610db57a61d5380eeeb3b4780846c39fb79422.tar.gz geiser-chez-96610db57a61d5380eeeb3b4780846c39fb79422.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.
-rw-r--r-- | elisp/geiser-company.el | 4 | ||||
-rw-r--r-- | elisp/geiser-racket.el | 2 |
2 files changed, 3 insertions, 3 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) diff --git a/elisp/geiser-racket.el b/elisp/geiser-racket.el index e826bde..cafaac9 100644 --- a/elisp/geiser-racket.el +++ b/elisp/geiser-racket.el @@ -144,7 +144,7 @@ This function uses `geiser-racket-init-file' if it exists." ((null module) (geiser-racket--implicit-module)) ((symbolp module) module) ((and (stringp module) (file-name-absolute-p module)) module) - ((stringp module) (intern module)) + ((stringp module) (make-symbol module)) (t nil))) (defun geiser-racket--symbol-begin (module) |