]> git.donarmstrong.com Git - lilypond.git/blob - ly/init.ly
(ly_module_define): only define variable if
[lilypond.git] / ly / init.ly
1 % Toplevel initialisation file. 
2
3 #(define-public point-and-click #f)
4 #(define-public midi-debug  #f)
5
6
7 \version "2.2.0"
8
9 \include "declarations-init.ly"
10
11
12 #(ly:set-option 'new-relative)
13 #(ly:set-point-and-click #f)
14
15 \maininput
16 % there is a problem at the end of the input file
17
18
19 %%
20 %% above and below message is to compensate for look ahead of the parser.
21 %%
22
23 #(if (and (ly:get-option 'old-relative)
24       (defined? 'input-file-name)
25       (not (ly:get-option 'old-relative-used)))
26   (ly:warn (string-append
27             "\n"
28             input-file-name ": old relative compatibility was not used."
29         )))% there is a problem at the end of the input file
30
31
32
33 #(if (ly:get-option 'verbose)
34   (begin
35    (gc)
36    (write (gc-stats) (current-error-port))
37    ))
38