]> git.donarmstrong.com Git - lilypond.git/blobdiff - input/regression/beam-concave-chord.ly
Implements consistent beam slopes across line breaks.
[lilypond.git] / input / regression / beam-concave-chord.ly
index 5d5aa308263d5310a3dbf0e5d116ca2c39940032..5d3aa7c1ce986cd5d91eb450b454a4de6865b94c 100644 (file)
@@ -35,22 +35,12 @@ nonHorizontalBeams = {
 
 % cut & paste from beam-concave.ly
 
-#(define (<> x y) (not (= x  y)))
+#(define (<> x y) (not (= x y)))
 mustBeHorizontal = {
-  \override Staff.Beam #'positions =
-    #(ly:make-simple-closure
-      (ly:make-simple-closure
-       (append
-        (list chain-grob-member-functions `(,cons 0 0))
-        (check-slope-callbacks =))))
+  \override Staff.Beam #'positions = #(check-slope-callbacks =)
 }
 mustNotBeHorizontal = {
-  \override Staff.Beam #'positions =
-    #(ly:make-simple-closure
-      (ly:make-simple-closure
-       (append
-        (list chain-grob-member-functions `(,cons 0 0))
-        (check-slope-callbacks <>))))
+  \override Staff.Beam #'positions = #(check-slope-callbacks <>)
 }
 
 \new Voice {