]> git.donarmstrong.com Git - lilypond.git/commitdiff
Revert "string-tunings-init.ly: let \contextStringTunings affect only current context."
authorGraham Percival <graham@percival-music.ca>
Thu, 1 Sep 2011 06:55:45 +0000 (07:55 +0100)
committerGraham Percival <graham@percival-music.ca>
Thu, 1 Sep 2011 06:55:45 +0000 (07:55 +0100)
This reverts commit e9c349044ed55d2fc63865c57335a6da25af7fa1.

I'm sorry, but I still cannot build git master from scratch when I
have this commit attached.  Please discuss the situation on
lilypond-devel, and put an updated patch on Rietveld so that James
can test the build.

ly/string-tunings-init.ly

index 1b6e96f16edeb8bcceccd77fc36c17ac3ac8ae7e..0edc1cb4248045ee675f8d4872586fbe5eeca0d2 100644 (file)
@@ -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 =