summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--elisp/geiser-eval.el5
-rw-r--r--elisp/geiser-repl.el2
2 files changed, 5 insertions, 2 deletions
diff --git a/elisp/geiser-eval.el b/elisp/geiser-eval.el
index 38b1f7f..7a729cf 100644
--- a/elisp/geiser-eval.el
+++ b/elisp/geiser-eval.el
@@ -39,7 +39,7 @@
((eq code :t) "#t")
((listp code)
(cond ((eq (car code) :gs) (geiser-eval--gs (cdr code)))
- ((eq (car code) :ge) (format "(@ (geiser emacs) %s)" (cadr code)))
+ ((eq (car code) :ge) (geiser-eval--ge (cadr code)))
((eq (car code) :scm) (cadr code))
(t (concat "(" (mapconcat 'geiser-eval--scheme-str code " ") ")"))))
((symbolp code) (format "%s" code))
@@ -54,6 +54,9 @@
(geiser-syntax--buffer-module))
"))"))
+(defsubst geiser-eval--ge (proc)
+ (format "(@ (geiser emacs) ge:%s)" proc))
+
;;; Code sending:
diff --git a/elisp/geiser-repl.el b/elisp/geiser-repl.el
index 96743f4..fcc0daa 100644
--- a/elisp/geiser-repl.el
+++ b/elisp/geiser-repl.el
@@ -76,7 +76,7 @@ the Geiser REPL buffer."
(current-buffer)
guile
nil
- "-L" geiser-scheme-dir "-q")
+ "-L" (concat geiser-scheme-dir "/guile/") "-q")
(geiser-repl--wait-for-prompt 10000)
(geiser-con--setup-connection (current-buffer))))