include another song without outputting anything
This commit is contained in:
7
include_from_song.ily
Normal file
7
include_from_song.ily
Normal file
@ -0,0 +1,7 @@
|
||||
includeFromSong =
|
||||
#(define-void-function (filename) (string?)
|
||||
(let ((noDefaultOutputBackup noDefaultOutput))
|
||||
(set! noDefaultOutput #t)
|
||||
(ly:parser-parse-string (ly:parser-clone)
|
||||
(ly:format "\\include \"~a\"" filename))
|
||||
(set! noDefaultOutput noDefaultOutputBackup)))
|
Reference in New Issue
Block a user