]> git.donarmstrong.com Git - lilypond.git/commitdiff
Issue 3393: Let chant-or-psalms-notation snippet use \hide and \undo
authorDavid Kastrup <dak@gnu.org>
Mon, 3 Jun 2013 15:23:36 +0000 (17:23 +0200)
committerDavid Kastrup <dak@gnu.org>
Sun, 9 Jun 2013 08:54:17 +0000 (10:54 +0200)
Documentation/snippets/new/chant-or-psalms-notation.ly

index 8c7cd659061a9cb79bc11d75d684a5a197e36a7f..8edb405b0d76771c8fb01f5240acec87605d3815 100644 (file)
@@ -11,15 +11,8 @@ aren't always the same length.
   doctitle = "Chant or psalms notation"
 }
 
-stemOn = {
-  \revert Staff.Stem.transparent
-  \revert Staff.Flag.transparent
-}
-
-stemOff = {
-  \override Staff.Stem.transparent = ##t
-  \override Staff.Flag.transparent = ##t
-}
+stemOff = \hide Staff.Stem
+stemOn  = \undo \stemOff
 
 \score {
   \new Staff \with { \remove "Time_signature_engraver" }