]> git.donarmstrong.com Git - lilypond.git/blobdiff - ly/music-functions-init.ly
* Documentation/topdocs/NEWS.tely (Top): doc new feature.
[lilypond.git] / ly / music-functions-init.ly
index 7aa6dede0834eeafcf81d249ab2fbf1b10af49b3..1fb36ffaadce209a9f37dae6c1b540ee76622d61 100644 (file)
@@ -362,11 +362,6 @@ pitchedTrill =
           (display sec-note-events)))
 
      main-note))
-
-
-
-
-
    
 parenthesize =
 #(define-music-function (parser loc arg) (ly:music?)
@@ -571,3 +566,17 @@ tag = #(define-music-function (parser location tag arg)
 unfoldRepeats =
 #(define-music-function (parser location music) (ly:music?)
                  (unfold-repeats music))
+
+untied =
+#(define-music-function (parser location note) (ly:music?)
+   "Specify that @var{note} should not have ties. " 
+   (set! (ly:music-property note 'untied) #t)
+   note)
+
+withMusicProperty =
+#(define-music-function (parser location sym val music) (symbol? scheme? ly:music?)
+   "Set @var{sym} to @var{val} in @var{music}."
+
+   (set! (ly:music-property music sym) val)
+   music)
+