lilypond-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Move \RemoveEmptyStaves to new file for context modifications (issue


From: Janek Warchoł
Subject: Re: Move \RemoveEmptyStaves to new file for context modifications (issue #1760) (issue4664076)
Date: Wed, 13 Jul 2011 12:45:19 +0200

2011/7/13  <address@hidden>:
> Because ly/declarations-init.ly contains:
>
> \layout {
>    \include "engraver-init.ly"
> }
>
> So the whole contents of engraver-init.ly (including the old definition
> of RemoveEmptyStaves) is interpreted and defined inside a layout block
> and is thus not available at top-level, just inside any other layout
> block...
> This patch moves the definition out of the \layout block and thus makes
> it available for use inside a score, to.

Ah, i didn't know that making something available at one level can
make it unavailable on other levels.
This part of internal workings of Lily is still mysterious to me.
Thanks for explanation!
So, LGTM.
cheers,
Janek



reply via email to

[Prev in Thread] Current Thread [Next in Thread]