From ef17947ca8f80e67fe542b8a563b6297f3668cbe Mon Sep 17 00:00:00 2001 From: Jose Antonio Ortega Ruiz Date: Sun, 7 Mar 2010 21:39:13 +0100 Subject: Go to geiser and switch to module: echoing. --- elisp/geiser-repl.el | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) (limited to 'elisp/geiser-repl.el') diff --git a/elisp/geiser-repl.el b/elisp/geiser-repl.el index facae50..7c0994b 100644 --- a/elisp/geiser-repl.el +++ b/elisp/geiser-repl.el @@ -237,9 +237,10 @@ module command as a string") (let ((m (geiser-repl--enter-cmd geiser-impl--implementation (geiser-eval--get-module)))) (switch-to-geiser) - (when m - (comint-send-string nil m) - (comint-send-eof)))) + (when (and m (eq major-mode 'geiser-repl-mode)) + (goto-char (point-max)) + (insert m) + (comint-send-input)))) (defun geiser-repl-nuke () "Try this command if the REPL becomes unresponsive." -- cgit v1.2.3