X-Git-Url: https://git.donarmstrong.com/?a=blobdiff_plain;f=input%2Ftest%2Fmusic-box.ly;h=de0b47e9f010323e9439915028095648d0adb0b9;hb=0817e0513d1016ff22a633b6fee20ddba2a062f2;hp=2ff6c639e43bf313a4be33ded6336f20e259047b;hpb=dfe0c6ad15227d6d3646bd7445df5de6aa386ff7;p=lilypond.git diff --git a/input/test/music-box.ly b/input/test/music-box.ly index 2ff6c639e4..de0b47e9f0 100644 --- a/input/test/music-box.ly +++ b/input/test/music-box.ly @@ -22,6 +22,7 @@ using Scheme functions to save typing work. } \include "deutsch.ly" +\version "1.5.18" #(define (transform music) (let* ((es (ly-get-mus-property music 'elements)) @@ -48,25 +49,13 @@ using Scheme functions to save typing work. #(define ((trans pitches) music) (let* ((es (ly-get-mus-property music 'elements)) (e (ly-get-mus-property music 'element)) - (p (ly-get-mus-property music 'pitch)) - (body (ly-get-mus-property music 'body)) - (alts (ly-get-mus-property music 'alternatives))) + (p (ly-get-mus-property music 'pitch))) (if (pair? es) (ly-set-mus-property music 'elements (map (trans pitches) es))) - (if (music? alts) - (ly-set-mus-property - music 'alternatives - ((trans pitches) alts))) - - (if (music? body) - (ly-set-mus-property - music 'body - ((trans pitches) body))) - (if (music? e) (ly-set-mus-property music 'element