+2002-07-31 Han-Wen Nienhuys <hanwen@cs.uu.nl>
+
+ * scm/music-functions.scm (unfold-repeats): bugfix
+
2002-07-31 Rune Zedeler <rune@zedeler.dk>
* ly/engraver-init.ly: remove alias "Current" from all contexts.
--- /dev/null
+
+\header {
+ texidoc = "Repeats may be unfolded through the Scheme function @code{unfold-repeats}."
+}
+
+nots = \notes\relative c' {c4 \repeat volta 2 c4 \alternative { d e }}
+
+\score { \notes {
+\nots
+\apply #unfold-repeats \nots
+}
+\paper {linewidth=-1.}
+ }
(if (equal? n "Repeated_music")
(begin
- (if (equal? (ly-get-mus-property 'type music) 'tremolo)
+ (if (equal?
+ (ly-get-mus-property music 'iterator-ctor)
+ Chord_tremolo_iterator::constructor)
(shift-duration-log music (- (intlog2 (ly-get-mus-property 'repeat-count music))))
)
(ly-set-mus-property!