1 %% Toplevel initialisation file.
4 #(if (and #t (defined? 'set-debug-cell-accesses!))
5 (set-debug-cell-accesses! 5000))
7 #(define-public midi-debug #f)
12 \include "declarations-init.ly"
15 #(ly:set-option 'new-relative)
16 #(define toplevel-scores '())
17 #(define $globalheader #f)
18 #(define version-seen? #f)
21 %% there is a problem at the end of the input file
24 %% Above and below comments compensate for the parser's look-ahead.
27 #(if (and (ly:get-option 'old-relative)
28 (defined? 'input-file-name)
29 (not (ly:get-option 'old-relative-used)))
30 (old-relative-not-used-message input-file-name))%% there is a problem at the end of the input file
32 #(if (and (not version-seen?)
33 (defined? 'input-file-name))
34 (version-not-seen-message input-file-name))
36 #(if (pair? toplevel-scores)
37 (ly:parser-print-book parser
38 (apply ly:make-book $defaultpaper $globalheader toplevel-scores)))