Reviewers: ,
Message:
Please review
Description:
Let scheme-sandbox use system-repl with guile-2.x
This fixes the warning returned by guile-2.x
`scm-style-repl' in the default environment is deprecated.
Find it in the `(ice-9 scm-style-repl)' module instead, or
better yet, use the repl from `(system repl repl)'.
Please review this at https://codereview.appspot.com/319520043/
Affected files (+5, -1 lines):
M ly/scheme-sandbox.ly
Index: ly/scheme-sandbox.ly
diff --git a/ly/scheme-sandbox.ly b/ly/scheme-sandbox.ly
index
7dec0dcd1c157aed892b4e152bd54bcc5d2643ac..1f233c0cfa46ce064fcedca2a47bde87408849f3
100644
--- a/ly/scheme-sandbox.ly
+++ b/ly/scheme-sandbox.ly
@@ -13,4 +13,8 @@
% requirements may be different.
#(newline)
-#(scm-style-repl)
+#(if (guile-v2)
+ (begin
+ (use-modules (system repl repl))
+ (start-repl))
+ (scm-style-repl))
_______________________________________________
lilypond-devel mailing list
lilypond-devel@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-devel