]> git.donarmstrong.com Git - lilypond.git/blobdiff - ly/context-mods-init.ly
Add RemoveAllEmptyStaves command
[lilypond.git] / ly / context-mods-init.ly
index 24b8ce055845e3d730475b64da9c94e6a9e46b46..a4064f4b327a4df15bef871dff36d801efe50d2d 100644 (file)
@@ -24,6 +24,14 @@ RemoveEmptyStaves = \with {
 to the list of interfaces set by @code{keepAliveInterfaces}."
 }
 
+RemoveAllEmptyStaves = \with {
+  \override VerticalAxisGroup.remove-empty = ##t
+  \override VerticalAxisGroup.remove-first = ##t
+  \description "Remove staves which are considered to be empty according
+to the list of interfaces set by @code{keepAliveInterfaces}, including those
+in the first system."
+}
+
 inherit-acceptability =
 #(define-void-function (to from)
    (symbol? symbol?)