]> git.donarmstrong.com Git - lilypond.git/commit
Give \addlyrics the power of christening the associated context
authorDavid Kastrup <dak@gnu.org>
Mon, 8 Sep 2014 09:28:14 +0000 (11:28 +0200)
committerDavid Kastrup <dak@gnu.org>
Sun, 14 Sep 2014 05:44:55 +0000 (07:44 +0200)
commiteda1a9e297d93e074d10e86dfdeae1226f86b4cd
tree1981e4e50ce0dfb51fcbf9d9089c749fd196f0af
parent32f47bdec7c2008ebff80d68463d022946db5df2
Give \addlyrics the power of christening the associated context

With

\new Voice \with { \stemDown } { c1 } \addlyrics { Oh }

as opposed to

\new Voice = "upper" \with { \stemDown } { c1 } \addlyrics { Oh }

\addlyrics created its own context (consequently not using \stemDown)
since it had no context name for the Lyrics context to attach to.  In
this case (namely being preceded by an unnamed new Voice context), it
will now give a name to the context itself.
scm/ly-syntax-constructors.scm