X-Git-Url: https://git.donarmstrong.com/?a=blobdiff_plain;f=scm%2Fmusic-functions.scm;h=681c2c7b082bcc6719601d03f054e9f72aeaab50;hb=34141471a3a50d637a22d19da0c8645bae59fdc2;hp=c4bfa93d18afb11f0c915049a8628745dde136f3;hpb=90ad08979d480bc6607153256ab50aa3a2a2873b;p=lilypond.git diff --git a/scm/music-functions.scm b/scm/music-functions.scm index c4bfa93d18..681c2c7b08 100644 --- a/scm/music-functions.scm +++ b/scm/music-functions.scm @@ -920,11 +920,14 @@ use GrandStaff as a context. " '(Staff (any-octave . 0) (same-octave . 1) GrandStaff (any-octave . 0) (same-octave . 1)) pcontext)) + ;; do not set localKeySignature when a note alterated differently from ;; localKeySignature is found. ;; Causes accidentals to be printed at every note instead of ;; remembered for the duration of a measure. - ;; accidentals not being remembered, causing accidentals always to be typeset relative to the time signature + ;; accidentals not being remembered, causing accidentals always to + ;; be typeset relative to the time signature + ((equal? style 'forget) (set-accidentals-properties '() '(Staff (same-octave . -1))