Fixes issue 879 by removing the \override Beam #'auto-knee-gap = #'() line
in the definition of RemoveEmptyStaves. Also adds comment why a \remove
is follwed by a \consists.
RemoveEmptyStaves = \with {
\remove "Axis_group_engraver"
+ % If RemoveEmptyStaves is called twice, two
+ % Hara_kiri_engravers would be added, which leads to a
+ % warning.
+ % This code makes sure that no previous Hara_kiri_engraver
+ % is left before adding a new one.
\remove "Hara_kiri_engraver"
\consists "Hara_kiri_engraver"
- \override Beam #'auto-knee-gap = #'()
\override VerticalAxisGroup #'remove-empty = ##t
}