]> git.donarmstrong.com Git - lilypond.git/commit
Issue 4324: Don't create Bottom to announce TimeSignatureEvent
authorDavid Kastrup <dak@gnu.org>
Sun, 15 Mar 2015 11:15:18 +0000 (12:15 +0100)
committerDavid Kastrup <dak@gnu.org>
Mon, 23 Mar 2015 12:14:22 +0000 (13:14 +0100)
commitfb79cea8ec10ebc40b96a05bf7f643e47fd93ddd
treecf5efa251a89fb8c93625f79585b3092a502dd8c
parent55ff9f5a64a00b6c369be47eb8ca3949250f120b
Issue 4324: Don't create Bottom to announce TimeSignatureEvent

As a fallout of issue 4138, << \time 3/4 \new Staff c2. >> created a
spurious Staff only containing a time signature.  This change avoids the
creation of a Bottom context just for accommodating \time.  As a result,

    { \tweak color #red \time 3/4 c2. }

will no longer show a change in color since no Staff context exists at
the time \time is executed and consequently the tweak does not apply
anywhere.  You have to use \time in existing Staff contexts to have
either \tweak and point&click have an effect (and get an error locator
when something with typesetting the signature goes wrong).  Outside of
such contexts, \time just changes properties of the Timing context.
scm/define-music-callbacks.scm