X-Git-Url: https://git.donarmstrong.com/?a=blobdiff_plain;f=ly%2Fscheme-sandbox.ly;h=1f233c0cfa46ce064fcedca2a47bde87408849f3;hb=97a0169312a260933246ab224e4f8b0969871dd5;hp=eb38380256157866f19e14254a5f341a51cadffb;hpb=49fbcc8b526edcad8a0650e9d7870b647c43d698;p=lilypond.git diff --git a/ly/scheme-sandbox.ly b/ly/scheme-sandbox.ly index eb38380256..1f233c0cfa 100644 --- a/ly/scheme-sandbox.ly +++ b/ly/scheme-sandbox.ly @@ -1,5 +1,20 @@ -\version "2.14.0" -#(use-modules (ice-9 readline)) -#(activate-readline) +\version "2.16.0" + +#(load-user-init) + +% This loads the user's .guile file for interactive sessions. +% One typical thing you might want to put there is +% (use-modules (ice-9 readline)) +% (activate-readline) +% in order to activate command line editing for interactive sessions. +% You need libreadline support and the respective Guile module to be +% installed for that. In Debian, for example, this is part of the +% guile-1.8-libs package. Depending on your system and version, the +% requirements may be different. + #(newline) -#(scm-style-repl) +#(if (guile-v2) + (begin + (use-modules (system repl repl)) + (start-repl)) + (scm-style-repl))