1\version "2.19.21"
2#(ly:set-option 'warning-as-error #f)
3#(ly:expect-warning (_ "unterminated tie"))
4#(ly:expect-warning (_ "unterminated tie"))
5
6\header
7{
8
9  texidoc =
10  "when @code{tieWaitForNote} is set, the right-tied note does not
11 have to follow the lef-tied note directly. When @code{tieWaitForNote}
12 is set to false, any tie will erase all pending ties."
13
14}
15
16\paper { ragged-right =  ##t }
17\relative {
18  c'~ e~ g~ <c, e g>
19  \set tieWaitForNote = ##t
20  c~ e~ g~ <c, e g>
21
22  <c c'> ~
23
24  \set tieWaitForNote = ##f
25  <c e> ~
26  <c e c'>
27
28}
29