From aacdd11a8816430e6bdd2704c52e07466f0cca19 Mon Sep 17 00:00:00 2001 From: Jose Antonio Ortega Ruiz Date: Mon, 9 Feb 2009 21:59:23 +0100 Subject: Better preparation of Scheme results for the Elisp reader. --- elisp/geiser-connection.el | 9 ++------- 1 file changed, 2 insertions(+), 7 deletions(-) (limited to 'elisp/geiser-connection.el') diff --git a/elisp/geiser-connection.el b/elisp/geiser-connection.el index 060ab7b..c18e7b2 100644 --- a/elisp/geiser-connection.el +++ b/elisp/geiser-connection.el @@ -26,6 +26,7 @@ ;;; Code: (require 'geiser-log) +(require 'geiser-syntax) (require 'geiser-base) (require 'comint) @@ -156,15 +157,9 @@ (defsubst geiser-con--comint-buffer () (get-buffer-create " *geiser connection retort*")) -(defun geiser-con--cleaunp-result-str () - (goto-char (point-min)) - (while (re-search-forward "#(" nil t) (replace-match "(vector ")) - (goto-char (point-min)) - (while (re-search-forward "#" nil t) (replace-match "\\\\#"))) - (defun geiser-con--comint-buffer-form () (with-current-buffer (geiser-con--comint-buffer) - (geiser-con--cleaunp-result-str) + (geiser-syntax--prepare-scheme-for-elisp-reader) (goto-char (point-min)) (condition-case nil (let ((form (read (current-buffer)))) -- cgit v1.2.3