X-Git-Url: https://git.donarmstrong.com/?a=blobdiff_plain;f=scm%2Fpart-combiner.scm;h=2f4d37a434b784cc231956aaae056cbc96688240;hb=533aa02038dcd4010f3d73a73db98514051521cc;hp=cc051cd5e639d23d0ddaf24e9bb16e874fb32432;hpb=39beb9ab68f6eaa5ea484fa9c03f7aaaaa8aab17;p=lilypond.git diff --git a/scm/part-combiner.scm b/scm/part-combiner.scm index cc051cd5e6..2f4d37a434 100644 --- a/scm/part-combiner.scm +++ b/scm/part-combiner.scm @@ -2,7 +2,7 @@ ;;;; ;;;; source file of the GNU LilyPond music typesetter ;;;; -;;;; (c) 2004--2006 Han-Wen Nienhuys +;;;; (c) 2004--2007 Han-Wen Nienhuys ;; todo: figure out how to make module, ;; without breaking nested ly scopes @@ -230,8 +230,10 @@ Voice-state objects (set! (ly:music-property m 'elements) (list m1 m2)) (set! (ly:music-property m 'split-list) - (determine-split-list (reverse! (cdr (assoc "one" evs1)) '()) - (reverse! (cdr (assoc "two" evs2)) '()))) + (if (and (assoc "one" evs1) (assoc "two" evs2)) + (determine-split-list (reverse! (cdr (assoc "one" evs1)) '()) + (reverse! (cdr (assoc "two" evs2)) '())) + '() )) m)) (define-public (determine-split-list evl1 evl2)