summaryrefslogtreecommitdiff
path: root/ly
diff options
context:
space:
mode:
authorDavid Kastrup <dak@gnu.org>2015-08-27 15:29:07 +0200
committerDavid Kastrup <dak@gnu.org>2015-09-05 09:16:41 +0200
commita113d6e906bbcd84044a2ae54f9ac05f6df51ca4 (patch)
tree7c6c1735c608ea8e561ce98d782f1ea8b23cc630 /ly
parent40c43b9043488a86c03633b638251a2b76cb33b0 (diff)
Accept Dynamics in Score context
That avoids the gratuitous creation of an intermediate PianoStaff context when Dynamics are created at top level.
Diffstat (limited to 'ly')
-rw-r--r--ly/engraver-init.ly1
-rw-r--r--ly/performer-init.ly1
2 files changed, 2 insertions, 0 deletions
diff --git a/ly/engraver-init.ly b/ly/engraver-init.ly
index 2ea76ac646..1842de28a2 100644
--- a/ly/engraver-init.ly
+++ b/ly/engraver-init.ly
@@ -571,6 +571,7 @@ automatically when an output definition (a @code{\\score} or
\accepts "ChordNames"
\accepts "Devnull"
\accepts "DrumStaff"
+ \accepts "Dynamics"
\accepts "FiguredBass"
\accepts "FretBoards"
\accepts "GrandStaff"
diff --git a/ly/performer-init.ly b/ly/performer-init.ly
index 0c4a03af59..cccfc1d697 100644
--- a/ly/performer-init.ly
+++ b/ly/performer-init.ly
@@ -238,6 +238,7 @@
\accepts ChordNames
\accepts Devnull
\accepts DrumStaff
+ \accepts Dynamics
\accepts FiguredBass
\accepts GrandStaff
\accepts GregorianTranscriptionStaff