summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/geiser/emacs.scm3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/geiser/emacs.scm b/src/geiser/emacs.scm
index 555add2..4ef58d5 100644
--- a/src/geiser/emacs.scm
+++ b/src/geiser/emacs.scm
@@ -35,7 +35,8 @@ Meta-command used by Geiser to emit a new line."
(define-meta-command ((geiser-eval geiser) repl (mod form args) . rest)
"geiser-eval module form args ()
Meta-command used by Geiser to evaluate and compile code."
- (let ((args (syntax->datum args)))
+ (let ((args (syntax->datum args))
+ (mod (syntax->datum mod)))
(if (null? args)
(call-with-error-handling
(lambda () (ge:compile form mod)))