From c7e5396bb1d191783265512284f8131a7b5ada74 Mon Sep 17 00:00:00 2001 From: Thomas Morley Date: Tue, 21 Mar 2017 21:13:30 +0100 Subject: [PATCH] Issue 5104 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)'. --- ly/scheme-sandbox.ly | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/ly/scheme-sandbox.ly b/ly/scheme-sandbox.ly index 7dec0dcd1c..1f233c0cfa 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)) -- 2.39.2