]> git.donarmstrong.com Git - lilypond.git/blobdiff - ly/init.ly
Add include-settings cmd line option to include a custom settings
[lilypond.git] / ly / init.ly
index 20416624c2f54c73ab03b9ef4246d42571f3d914..fa1dbe5993eba6d25504d600865e1c5f91d85617 100644 (file)
 #(define book-filename #f)
 #(define book-output-suffix #f)
 #(use-modules (scm clip-region))
+
+#(if (ly:get-option 'include-settings)
+  (ly:parser-include-string parser
+    (format "\\include \"~a\"" (ly:get-option 'include-settings))))
+
 \maininput
 %% there is a problem at the end of the input file