diff options
author | Jose Antonio Ortega Ruiz <jao@gnu.org> | 2010-11-12 01:29:04 +0100 |
---|---|---|
committer | Jose Antonio Ortega Ruiz <jao@gnu.org> | 2010-11-12 01:29:04 +0100 |
commit | 24fe735860a68542bb569bb59c712995f7bd1deb (patch) | |
tree | 98fe909286323ea0ce2134a481bf942d8d7e0584 /elisp | |
parent | b98b2cea6ca2a5b244bbb4270d1144e483e54455 (diff) | |
download | geiser-chez-24fe735860a68542bb569bb59c712995f7bd1deb.tar.gz geiser-chez-24fe735860a68542bb569bb59c712995f7bd1deb.tar.bz2 |
Avoiding clobbering scm-strings with properties
Apparently, (format "%s" sym) for a symbol read from a buffer where
it's fontified, produces a string with the same fontification. Go
figure.
Diffstat (limited to 'elisp')
-rw-r--r-- | elisp/geiser-eval.el | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/elisp/geiser-eval.el b/elisp/geiser-eval.el index 72093cc..64b36ee 100644 --- a/elisp/geiser-eval.el +++ b/elisp/geiser-eval.el @@ -112,9 +112,8 @@ module-exports, autodoc, callers, callees and generic-methods.") (t (concat "(" (mapconcat 'geiser-eval--scheme-str code " ") ")")))) - ((symbolp code) (format "%s" code)) - ((stringp code) (format "%S" (substring-no-properties code))) - (t (format "%S" code)))) + ((symbolp code) (substring-no-properties (format "%s" code))) + (t (substring-no-properties (format "%S" code))))) ;;; Code sending: |