]> git.donarmstrong.com Git - lilypond.git/blobdiff - input/regression/beam-concave-chord.ly
Run scripts/auxiliar/update-with-convert-ly.sh
[lilypond.git] / input / regression / beam-concave-chord.ly
index 653165d87d1b2145073e823eda1b1237ad211a70..f02962d9013f3bd9f6643e6c850d766f57a61be3 100644 (file)
@@ -1,4 +1,9 @@
-\version "2.12.0"
+\version "2.16.0"
+\header {
+texidoc = "Concave beaming works for chords as well as monophonic
+music.
+"
+}
 
 morgenliedBeam = \relative c'' \new Voice {
   \time 3/8
@@ -30,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 {