From 547411277c046b37e011d92c352cdc2aed94bd37 Mon Sep 17 00:00:00 2001 From: Graham Percival Date: Tue, 30 Aug 2011 08:36:36 +0100 Subject: [PATCH] Revert "string-tunings-init.ly: let \contextStringTunings affect only current context." This reverts commit 2dad7be345ca1f4c04e836a56a9a66c0e340b39b. don't break git master. --- ly/string-tunings-init.ly | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/ly/string-tunings-init.ly b/ly/string-tunings-init.ly index 5b2075db96..0edc1cb424 100644 --- a/ly/string-tunings-init.ly +++ b/ly/string-tunings-init.ly @@ -57,9 +57,12 @@ newly-defined tuning. @{chord} must be in absolute pitches and should have the highest string number (generally the lowest pitch) first. @code{tuning} should be a string that will be converted to a symbol.") - (chord->tuning parser tuning chord) - #{ \set stringTunings (ly:parser-lookup $parser $tuning) - #}) + (begin + (chord->tuning parser tuning chord) + #{ + \set TabStaff.stringTunings = $(ly:parser-lookup parser tuning) + \set FretBoards.stringTunings = $(ly:parser-lookup parser tuning) + #})) %% A music function for converting an alist to string-tunings makeDefaultStringTunings = -- 2.39.2