Hi Urs,
I think part of the problem is you haven't actually defined
keepOriginalBreaks as a function/procedure, but just assigned it a value. 
See:
https://www.gnu.org/software/guile/manual/guile.html#Lambda-Alternatives

and maybe also:
https://www.gnu.org/software/guile/manual/guile.html#Definition


But I think the following will do what you want in a much simpler way:

\version "2.18.2"

origBreak = {}

% origBreak = \break


\relative c' {

c c c c

\origBreak

\repeat unfold 128 c

}




--
View this message in context: 
http://lilypond.1069038.n5.nabble.com/When-will-a-define-be-executed-tp167217p167234.html
Sent from the User mailing list archive at Nabble.com.

_______________________________________________
lilypond-user mailing list
[email protected]
https://lists.gnu.org/mailman/listinfo/lilypond-user

Reply via email to