]> git.donarmstrong.com Git - lilypond.git/commitdiff
LSR updates
authorPhil Holmes <mail@philholmes.net>
Sat, 15 Dec 2012 13:05:09 +0000 (13:05 +0000)
committerPhil Holmes <mail@philholmes.net>
Sat, 15 Dec 2012 13:06:41 +0000 (13:06 +0000)
Documentation/snippets/generating-whole-scores-also-book-parts-in-scheme-without-using-the-parser.ly

index ab86d893393b1b9aa603bc72e11986ee6c7abf9e..c2182e123a3130279d1910ca41e18d86e5949b07 100644 (file)
@@ -98,8 +98,9 @@ modified to inser all collected scores so far to the book.
             (set! pitch (modulo (1+ pitch) 7)))))
 
 oneNoteScore =
-#(define-void-function (parser location) ()
-   (add-one-note-score parser))
+#(define-music-function (parser location) ()
+   (add-one-note-score parser)
+   (make-music 'Music 'void #t))
 
 %%%