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 | acd29c0391dfe8d255c34a61591943d85d821091 (patch) | |
tree | ccffdc75336dd5780afff38029f874a62b493f79 /elisp/geiser-syntax.el | |
parent | c6e745e306a294288a14a6bf2c0d3056b4a637aa (diff) | |
download | geiser-acd29c0391dfe8d255c34a61591943d85d821091.tar.gz geiser-acd29c0391dfe8d255c34a61591943d85d821091.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))))) |