]> git.donarmstrong.com Git - lilypond.git/commit
Issue 2745: clef change confuses manual key signature
authorDavid Kastrup <dak@gnu.org>
Tue, 14 Aug 2012 04:15:33 +0000 (06:15 +0200)
committerDavid Kastrup <dak@gnu.org>
Wed, 22 Aug 2012 05:27:12 +0000 (07:27 +0200)
commit11c215ed719156dd51359fb2d7e47803a2efb5ec
tree1d962fa294450fdff28e1d22a8d9e96fddef7da8
parentd148d68a4f56fe324b483df82d562dd3517744dc
Issue 2745: clef change confuses manual key signature

The original design of the accidental code apparently had two modes
for entries: a (notename . alter) pair for entries belonging to the
key signature, and a ((octave . notename) . (alter barnum . measurepos))
construct for actually occuring accidentals affecting the key signature
locally.  The documentation, however, also specifies an
((octave . notename) . alter) form for key signatures.  The code in general
has not been quite prepared for this.  This changes at least the accessor
functions for either car or cdr of a notename entry to only look at
their part of the signature entry.
scm/music-functions.scm