1\version "2.19.21"
2\header {
3  texidoc =
4
5  "If @code{merge-differently-headed} is enabled, then
6open note heads may be merged with black noteheads, but only
7if the black note heads are from 8th or shorter notes.
8"
9
10}
11
12\layout { ragged-right= ##t }
13
14
15\context Staff  \relative <<
16  {
17    \override Staff.NoteCollision.merge-differently-headed = ##t
18    c''2 c8 c4.
19    c2
20  }\\
21  {
22    c8 c4. c2
23    c4
24  }
25>>
26