]> git.donarmstrong.com Git - lilypond.git/commitdiff
Fix for 879
authorPhil Holmes <mail@philholmes.net>
Fri, 7 Jan 2011 15:15:09 +0000 (15:15 +0000)
committerCarl Sorensen <c_sorensen@byu.edu>
Fri, 7 Jan 2011 20:49:05 +0000 (13:49 -0700)
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.

ly/engraver-init.ly

index f5c4eab9b2708ccf239174e32179ea14f31f4ab1..83d313b4d1ddca40bf31a95b119818556365f2bd 100644 (file)
@@ -462,9 +462,13 @@ printing of a single line of lyrics."
 
 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
 }