summaryrefslogtreecommitdiff
path: root/input
diff options
context:
space:
mode:
authorThomas Morley <thomasmorley65@gmail.com>2016-03-22 11:32:53 +0100
committerThomas Morley <thomasmorley65@gmail.com>2016-03-28 15:00:02 +0200
commit82e8427010b8e1a932e0642f03b0c94a8494f03a (patch)
tree05b7c17a73d20f332a9001711fea95c37d9d3bc4 /input
parentc9497808c2ab14a1dee3bce8e9ab29debb09553f (diff)
Issue 4808 Make chord-naming robust against unsetting majorSevenSymbol
This will likely be changed anyway as soon as rewriting chord-names is seriously tackled. At least it might be a reminder to take care of the possibility a user wants to unset majorSevenSymbol. Regtest amended.
Diffstat (limited to 'input')
-rw-r--r--input/regression/chord-name-major7.ly7
1 files changed, 6 insertions, 1 deletions
diff --git a/input/regression/chord-name-major7.ly b/input/regression/chord-name-major7.ly
index 285c41ce29..7a2109cd22 100644
--- a/input/regression/chord-name-major7.ly
+++ b/input/regression/chord-name-major7.ly
@@ -1,11 +1,16 @@
\version "2.16.0"
\header {
texidoc = "The layout of the major 7 can be tuned with
-@code{majorSevenSymbol}."
+@code{majorSevenSymbol}. It does not break if @code{majorSevenSymbol} is unset.
+One should see: triangle - j7 - triangle - #7."
}
\chords {
c:7+
\set majorSevenSymbol = \markup { "j7" }
c:7+
+ \unset majorSevenSymbol
+ c:7+
+ \unset Score.majorSevenSymbol
+ c:7+
}