]> git.donarmstrong.com Git - lilypond.git/commitdiff
sixth patch from Joe: fix displayLilyMusic for clefs
authorValentin Villenave <valentin@villenave.net>
Sun, 13 Jan 2008 18:02:44 +0000 (19:02 +0100)
committerValentin Villenave <valentin@villenave.net>
Sun, 13 Jan 2008 18:02:44 +0000 (19:02 +0100)
scm/define-music-display-methods.scm

index d5449925ece4f4138aac0d7aab2971f7fff6fda7..b1b9111e13c58839086288e8d49834eaf695ed2e 100644 (file)
@@ -918,13 +918,15 @@ Otherwise, return #f."
                                                                 value ?clef-glyph
                                                                 symbol 'clefGlyph)
                                                          (music 'PropertySet
-                                                                symbol 'middleCPosition)
+                                                                symbol 'middleCClefPosition)
                                                          (music 'PropertySet
                                                                 value ?clef-position
                                                                 symbol 'clefPosition)
                                                          (music 'PropertySet
                                                                 value ?clef-octavation
-                                                                symbol 'clefOctavation)))))
+                                                                symbol 'clefOctavation)
+                                                         (music 'ApplyContext
+                                                                procedure ly:set-middle-C!)))))
     (let ((clef-prop+name (assoc (list ?clef-glyph ?clef-position 0)
                                 clef-name-alist)))
       (if clef-prop+name