X-Git-Url: https://git.donarmstrong.com/?a=blobdiff_plain;f=scm%2Fpart-combiner.scm;h=4e3e4b66031c178316ecb7a340fe0f32600842b6;hb=c86fa0465381db75b0931acfbf5cc3bb8685d174;hp=dadce948634ccae8db3a4eef0d17e4fd7828bbf3;hpb=bd751630011a6fbfcf069ec1fc41a8eaed8a6b87;p=lilypond.git diff --git a/scm/part-combiner.scm b/scm/part-combiner.scm index dadce94863..4e3e4b6603 100644 --- a/scm/part-combiner.scm +++ b/scm/part-combiner.scm @@ -275,9 +275,9 @@ LilyPond version 2.8 and earlier." (define (analyse-forced-combine result-idx prev-res) (define (get-forced-event x) - (if (ly:in-event-class? x 'part-combine-force-event) - (cons (ly:event-property x 'forced-type) (ly:event-property x 'once)) - #f)) + (and (ly:in-event-class? x 'part-combine-force-event) + (cons (ly:event-property x 'forced-type) + (ly:event-property x 'once)))) (define (part-combine-events vs) (if (not vs) '() @@ -338,7 +338,7 @@ Only set if not set previously. (prev (configuration prev-ss))) (if (symbol? prev) (put prev)))) - (map copy-one-state (span-state vs))) + (for-each copy-one-state (span-state vs))) (define (analyse-notes now-state) (let* ((vs1 (car (voice-states now-state)))