X-Git-Url: https://git.donarmstrong.com/?a=blobdiff_plain;f=ly%2Finit.ly;h=fba222de43335b640adcc35155c979df6037a489;hb=71695adc55217c4825ba94fb1fc9b473c416ca1a;hp=0bd5ec749a8611ffffcd5b95c48047edfd56fd3d;hpb=d2e7425b88e579fe53989106965fa13eab551c92;p=lilypond.git diff --git a/ly/init.ly b/ly/init.ly index 0bd5ec749a..fba222de43 100644 --- a/ly/init.ly +++ b/ly/init.ly @@ -1,24 +1,40 @@ -% Toplevel initialisation file. +%% Toplevel initialisation file. +%% switch on debugging. +#(if (and #t (defined? 'set-debug-cell-accesses!)) + (set-debug-cell-accesses! 5000)) +#(define-public midi-debug #f) -#(define-public point-and-click #f) -#(define-public midi-debug #f) -#(reset-drum-kit) - -\version "1.9.8" +\version "2.7.32" \include "declarations-init.ly" -#(ly:set-option 'new-relative) -#(ly:set-point-and-click #f) +#(ly:set-option 'old-relative #f) +#(define toplevel-scores '()) +#(define output-count 0) +#(define $defaultheader #f) +#(define version-seen? #f) \maininput +%% there is a problem at the end of the input file + +%% +%% Above and below comments compensate for the parser's look-ahead. +%% #(if (and (ly:get-option 'old-relative) + (defined? 'input-file-name) (not (ly:get-option 'old-relative-used))) - (ly:warn (string-append - "\n" - input-file-name ": old relative compatibility was not used."))) + (old-relative-not-used-message input-file-name))%% there is a problem at the end of the input file + +#(if (and (not version-seen?) + (defined? 'input-file-name)) + (version-not-seen-message input-file-name)) + +#(if (pair? toplevel-scores) + (toplevel-book-handler + parser + (apply ly:make-book $defaultpaper $defaultheader toplevel-scores)))