]> git.donarmstrong.com Git - lilypond.git/commit
Move \RemoveEmptyStaves to new file for context modifications.
authorNeil Puttock <n.puttock@gmail.com>
Sun, 17 Jul 2011 21:58:19 +0000 (22:58 +0100)
committerNeil Puttock <n.puttock@gmail.com>
Sun, 17 Jul 2011 21:58:19 +0000 (22:58 +0100)
commitcf2da187b5b99e963346e5944311bb77e2e52ff1
treefa3b05205f9b6cd465bd5948f631613a81993c5e
parentdacad2f3ec527268dc72ae9f4d2dff27c97500e8
Move \RemoveEmptyStaves to new file for context modifications.

This allows \RemoveEmptyStaves to be invoked outside \layout blocks, i.e.,
directly following a context instantiation:

\new Staff \RemoveEmptyStaves { ... }

or

\new Staff \with { \RemoveEmptyStaves } { ... }

* input/regression/remove-empty-context-mod.ly

  new regtest

* ly/context-mods-init.ly:

  new file for context modification identifiers

* ly/declarations-init.ly:

  include context-mods-init.ly; placed before engraver-init.ly to ensure
  \RemoveEmptyStaves is accessible for deprecated \RemoveEmptyStaffContext
  and analogues

* ly/engraver-init.ly:

  remove \RemoveEmptyStaves declaration
input/regression/remove-empty-context-mod.ly [new file with mode: 0644]
ly/context-mods-init.ly [new file with mode: 0644]
ly/declarations-init.ly
ly/engraver-init.ly