X-Git-Url: https://git.donarmstrong.com/?a=blobdiff_plain;ds=sidebyside;f=ly%2Finit.ly;h=eab90ef3d5905527c56ee3c36edabbc4cba0f243;hb=804385793dcad0400e6b7ccfe006fece27e5feac;hp=c17531f6b6d51ec32c668b6a89d0ba728a845c4e;hpb=84c9074729c7a0b36d27be81794ca25a8829f9f3;p=lilypond.git diff --git a/ly/init.ly b/ly/init.ly index c17531f6b6..eab90ef3d5 100644 --- a/ly/init.ly +++ b/ly/init.ly @@ -1,13 +1,15 @@ %% Toplevel initialisation file. -% switch on debugging. +%% switch on debugging. #(if (and #t (defined? 'set-debug-cell-accesses!)) (set-debug-cell-accesses! 5000)) #(define-public midi-debug #f) -\version "2.6.0" + + +\version "2.10.0" \include "declarations-init.ly" @@ -15,9 +17,11 @@ #(ly:set-option 'old-relative #f) #(define toplevel-scores '()) #(define output-count 0) -#(define $globalheader #f) -#(define version-seen? #f) +#(define $defaultheader #f) +#(define version-seen #f) + +#(use-modules (scm clip-region)) \maininput %% there is a problem at the end of the input file @@ -30,11 +34,11 @@ (not (ly:get-option 'old-relative-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?) +#(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 $globalheader toplevel-scores))) + (apply ly:make-book $defaultpaper $defaultheader toplevel-scores)))