summaryrefslogtreecommitdiff
path: root/2d/repl
diff options
context:
space:
mode:
authorDavid Thompson <dthompson@member.fsf.org>2013-09-04 23:05:14 -0400
committerDavid Thompson <dthompson@member.fsf.org>2013-09-04 23:05:14 -0400
commit62691c7ccec4773fc20cb3179a04c4d48622b23a (patch)
tree88ec9c09aaa01a4cd4b42d919ad4de7e5d513155 /2d/repl
parent3198d0bdcaa30385e395e1d6f22b5aa6ef67fb35 (diff)
Update mvars module.
There were some issues with the original version that Mark Weaver has fixed. This also resolves an issue where mvars was unusable on Guile versions less than 2.0.9 because of a docstring on case-lambda.
Diffstat (limited to '2d/repl')
-rw-r--r--2d/repl/repl.scm4
1 files changed, 2 insertions, 2 deletions
diff --git a/2d/repl/repl.scm b/2d/repl/repl.scm
index 253789d..4ff8f52 100644
--- a/2d/repl/repl.scm
+++ b/2d/repl/repl.scm
@@ -130,8 +130,8 @@
;;; The repl
;;;
-(define repl-input-mvar (new-mvar))
-(define repl-output-mvar (new-mvar))
+(define repl-input-mvar (new-empty-mvar))
+(define repl-output-mvar (new-empty-mvar))
(define* (start-repl #:optional (lang (current-language)) #:key debug)
;; ,language at the REPL will update the current-language. Make