diff options
author | Jose Antonio Ortega Ruiz <jao@gnu.org> | 2010-11-26 15:19:49 +0100 |
---|---|---|
committer | Jose Antonio Ortega Ruiz <jao@gnu.org> | 2010-11-26 15:19:49 +0100 |
commit | 18250d15e5f80deca6d6db10c8deda7b58efa0ba (patch) | |
tree | 66c3a04e2b98fe9f16f605bf6a7722d6b72b2120 /elisp/geiser-syntax.el | |
parent | 801422d1558f488059ede4f9abab5163ca610900 (diff) | |
download | geiser-chez-18250d15e5f80deca6d6db10c8deda7b58efa0ba.tar.gz geiser-chez-18250d15e5f80deca6d6db10c8deda7b58efa0ba.tar.bz2 |
Revert "Bug fix: don't intern symbols read by scheme reader"
This reverts commit 801422d1558f488059ede4f9abab5163ca610900.
We cannot blindly substitute make-symbol for intern in the scheme
reader, because we rely on symbol equality elsewhere, often. The fix
will have to be much more careful.
Diffstat (limited to 'elisp/geiser-syntax.el')
-rw-r--r-- | elisp/geiser-syntax.el | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/elisp/geiser-syntax.el b/elisp/geiser-syntax.el index 9bb5e2c..65c4813 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 (make-symbol (format "#%s" tok))) + (if tok (cons 'atom (intern (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 (make-symbol (format ":%s" (cdr token)))) + (kwd (intern (format ":%s" (cdr token)))) (unprintable (format "#<%s>" (cdr token))) ((char string atom) (cdr token)) (t (error "Reading scheme syntax: unexpected token: %s" token))))) |