]> git.donarmstrong.com Git - lilypond.git/commitdiff
Use new music-clone arguments in \endSpanners
authorDavid Kastrup <dak@gnu.org>
Thu, 17 Jan 2013 18:28:09 +0000 (19:28 +0100)
committerDavid Kastrup <dak@gnu.org>
Fri, 25 Jan 2013 16:43:16 +0000 (17:43 +0100)
ly/music-functions-init.ly

index f3210832186e5b4510fcec365b6c3f2ef4312d3b..6b5bd6ece82a93dc9b9faf0173bf69c0f180d7bf 100644 (file)
@@ -344,10 +344,8 @@ without the need of a specific end spanner.")
                                  (extract-typed-music music 'span-event)))
          (stop-span-evs
           (map (lambda (m)
-                 (let ((c (music-clone m)))
-                   (set! (ly:music-property c 'span-direction) STOP)
-                   c))
-               start-span-evs))
+                 (music-clone m 'span-direction STOP))
+                start-span-evs))
          (end-ev-chord (make-music 'EventChord
                                    'elements stop-span-evs))
          (total (make-music 'SequentialMusic