]> git.donarmstrong.com Git - lilypond.git/blobdiff - input/test/add-staccato.ly
ly- -> ly:
[lilypond.git] / input / test / add-staccato.ly
index 15268357b438e8f62b09b6f777205e580ee4e39f..caac177d2f224ebfd93f0dcf00e24f65b53080b5 100644 (file)
@@ -1,4 +1,4 @@
-\version "1.7.0"  %% or actually: 1.7.1 ...
+\version "1.7.3"  %% or actually: 1.7.1 ...
 \header {
 
 texidoc= "Using make-music, you can add various stuff to notes. Here
@@ -9,19 +9,19 @@ one would not use scm constructs.  See separate-staccato.ly first."
 
 #(define (make-script x)
    (let ((m (make-music-by-name 'ArticulationEvent)))
-     (ly-set-mus-property! m 'articulation-type x)
+     (ly:set-mus-property! m 'articulation-type x)
      m))
     
 #(define (add-script m x)
-   (if (equal? (ly-get-mus-property m 'name) 'RequestChord)
-       (ly-set-mus-property! m 'elements
+   (if (equal? (ly:get-mus-property m 'name) 'RequestChord)
+       (ly:set-mus-property! m 'elements
                            (cons (make-script x)
-                                 (ly-get-mus-property m 'elements)))
+                                 (ly:get-mus-property m 'elements)))
 
-       (let ((es (ly-get-mus-property m 'elements))
-            (e (ly-get-mus-property m 'element)) )
+       (let ((es (ly:get-mus-property m 'elements))
+            (e (ly:get-mus-property m 'element)) )
         (map (lambda (y) (add-script y x)) es)
-        (if (music? e)
+        (if (ly:music? e)
             (add-script e x))))
    m)