Looks like the following works. I just added a second argument to the lambda
expression. It is just ignored, but it prevents the error.
(n) -> (n x)
HTH,
-Paul
\version "2.18.0"
\layout {
\context {
\Score
barNumberVisibility = #all-bar-numbers-visible
barNumberVisibility = #(lambda (n x) (= (modulo n 2) 1))
\override BarNumber.break-visibility = #all-visible
} }
\new Staff {
\bar ""
\repeat unfold 8 { c'2 c' }
}
--
View this message in context:
http://lilypond.1069038.n5.nabble.com/Bar-number-on-odd-bars-does-not-work-on-new-release-tp157263p158179.html
Sent from the Bugs mailing list archive at Nabble.com.
_______________________________________________
bug-lilypond mailing list
[email protected]
https://lists.gnu.org/mailman/listinfo/bug-lilypond