X-Git-Url: https://git.donarmstrong.com/?a=blobdiff_plain;f=ly%2Fcontext-mods-init.ly;h=b57fd713372f74149187fceb37a7f8077ab9180a;hb=23108a9515e7f76b44fac0b323afb169d708bfa1;hp=db07600b485cd8aa95f0c93fd5a786ff47a5fbc1;hpb=b01ca49c05566b73d690ae84fda6040b24fcf73f;p=lilypond.git diff --git a/ly/context-mods-init.ly b/ly/context-mods-init.ly index db07600b48..b57fd71337 100644 --- a/ly/context-mods-init.ly +++ b/ly/context-mods-init.ly @@ -1,6 +1,6 @@ %%%% This file is part of LilyPond, the GNU music typesetter. %%%% -%%%% Copyright (C) 2011 Han-Wen Nienhuys +%%%% Copyright (C) 2011--2012 Han-Wen Nienhuys %%%% Jan Nieuwenhuizen %%%% %%%% LilyPond is free software: you can redistribute it and/or modify @@ -16,14 +16,10 @@ %%%% You should have received a copy of the GNU General Public License %%%% along with LilyPond. If not, see . +\version "2.17.6" + 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 VerticalAxisGroup #'remove-empty = ##t + \override VerticalAxisGroup.remove-empty = ##t + \description "Remove staves which are considered to be empty according +to the list of interfaces set by @code{keepAliveInterfaces}." }