From: Xavier Scheuer <x.scheuer@gmail.com>
Date: Wed, 9 Mar 2011 14:41:08 +0000 (+0100)
Subject: ly/property-init.ly: remove cautionary accidentals in improvisation
X-Git-Tag: release/2.13.54-1~15
X-Git-Url: https://git.donarmstrong.com/?a=commitdiff_plain;h=3c33660e3a61acd16317381711c9a8c265a5e65f;p=lilypond.git

ly/property-init.ly: remove cautionary accidentals in improvisation

improvisationOn  removes the stencil of  Accidental  but did not remove
the stencil of  AccidentalCautionary .
This PATCH fix this (as well as the appropriate reciprocal in
 improvisationOff ).
---

diff --git a/ly/property-init.ly b/ly/property-init.ly
index 3bed8193a3..2e293352db 100644
--- a/ly/property-init.ly
+++ b/ly/property-init.ly
@@ -252,11 +252,13 @@ improvisationOn = {
   \set squashedPosition = #0
   \override NoteHead #'style = #'slash
   \override Accidental #'stencil = ##f
+  \override AccidentalCautionary #'stencil = ##f
 }
 improvisationOff = {
   \unset squashedPosition
   \revert NoteHead #'style
   \revert Accidental #'stencil
+  \revert AccidentalCautionary #'stencil
 }