summaryrefslogtreecommitdiff
path: root/elisp/geiser-syntax.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-syntax.el
parentf661d7c70bd04542d8bbb4da9c9f70b6d6c95791 (diff)
downloadgeiser-guile-801422d1558f488059ede4f9abab5163ca610900.tar.gz
geiser-guile-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-syntax.el')
-rw-r--r--elisp/geiser-syntax.el4
1 files changed, 2 insertions, 2 deletions
diff --git a/elisp/geiser-syntax.el b/elisp/geiser-syntax.el
index 65c4813..9bb5e2c 100644
--- a/elisp/geiser-syntax.el
+++ b/elisp/geiser-syntax.el
@@ -161,7 +161,7 @@ implementation-specific entries for font-lock-keywords.")
(?\< (geiser-syntax--read/unprintable))
((?' ?` ?,) (geiser-syntax--read/next-token))
(t (let ((tok (geiser-syntax--read/elisp)))
- (if tok (cons 'atom (intern (format "#%s" tok)))
+ (if tok (cons 'atom (make-symbol (format "#%s" tok)))
(geiser-syntax--read/next-token))))))
(?\' (geiser-syntax--read/token '(quote . quote)))
(?\` (geiser-syntax--read/token
@@ -209,7 +209,7 @@ implementation-specific entries for font-lock-keywords.")
(vectorb (apply 'vector (geiser-syntax--read/list)))
((quote backquote unquote splice) (list (cdr token)
(geiser-syntax--read)))
- (kwd (intern (format ":%s" (cdr token))))
+ (kwd (make-symbol (format ":%s" (cdr token))))
(unprintable (format "#<%s>" (cdr token)))
((char string atom) (cdr token))
(t (error "Reading scheme syntax: unexpected token: %s" token)))))