From e9c349044ed55d2fc63865c57335a6da25af7fa1 Mon Sep 17 00:00:00 2001 From: David Kastrup Date: Mon, 29 Aug 2011 19:02:29 +0200 Subject: [PATCH] string-tunings-init.ly: let \contextStringTunings affect only current context. Corrected and tested version of reverted patch. --- ly/string-tunings-init.ly | 9 +++------ 1 file changed, 3 insertions(+), 6 deletions(-) diff --git a/ly/string-tunings-init.ly b/ly/string-tunings-init.ly index 0edc1cb424..1b6e96f16e 100644 --- a/ly/string-tunings-init.ly +++ b/ly/string-tunings-init.ly @@ -57,12 +57,9 @@ 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.") - (begin - (chord->tuning parser tuning chord) - #{ - \set TabStaff.stringTunings = $(ly:parser-lookup parser tuning) - \set FretBoards.stringTunings = $(ly:parser-lookup parser tuning) - #})) + (chord->tuning parser tuning chord) + #{ \set stringTunings #(ly:parser-lookup $parser $tuning) + #}) %% A music function for converting an alist to string-tunings makeDefaultStringTunings = -- 2.39.2