]> git.donarmstrong.com Git - lilypond.git/blobdiff - scm/layout-beam.scm
Release: bump version.
[lilypond.git] / scm / layout-beam.scm
index 4ef49e975989978bfdeeb1af595aa567f76fc06f..810d4a6ab05225baaf1079946ef0583097fa2309 100644 (file)
@@ -40,7 +40,7 @@
          (ly:warning (_ "Error in beam quanting.  Expected (~S,~S) found ~S.")
                      want-l want-r posns)
          (set! (ly:grob-property beam 'annotation)
-               (format "(~S,~S)" want-l want-r))))
+               (format #f "(~S,~S)" want-l want-r))))
     posns))))
 
 (define check-beam-slope-sign
          (ly:warning (_ "Error in beam quanting.  Expected ~S 0, found ~S.")
                      (procedure-name comparison) slope-sign)
          (set! (ly:grob-property beam 'annotation)
-               (format "~S 0" (procedure-name comparison))))
+               (format #f "~S 0" (procedure-name comparison))))
        (set! (ly:grob-property beam 'annotation) ""))
     posns))))
 
 
 (define-public (check-quant-callbacks l r)
-  (list ly:beam::calc-least-squares-positions
-       ly:beam::slope-damping
-       ly:beam::shift-region-to-valid
-       ly:beam::quanting
-       (check-beam-quant l r)
-       ))
+  (lambda (grob)
+    ((check-beam-quant l r)
+       grob
+       (beam::place-broken-parts-individually grob))))
 
 
 (define-public (check-slope-callbacks comparison)
-  (list ly:beam::calc-least-squares-positions
-       ly:beam::slope-damping
-       ly:beam::shift-region-to-valid
-       ly:beam::quanting
-       (check-beam-slope-sign comparison)      
-       ))
+  (lambda (grob)
+    ((check-beam-slope-sign comparison)
+       grob
+       (beam::place-broken-parts-individually grob))))