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 | 34c603820df026565ced846a78b5d24ea288aecb (patch) | |
tree | 7cc92cff5e91d20836e2c2ec0b336e34f1d922cd /elisp/geiser-eval.el | |
parent | 20394406701884324bec34d5bfe3bc9f8917a289 (diff) | |
download | geiser-34c603820df026565ced846a78b5d24ea288aecb.tar.gz geiser-34c603820df026565ced846a78b5d24ea288aecb.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/geiser-eval.el')
-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: |