]> git.donarmstrong.com Git - lilypond.git/blobdiff - input/test/add-text-script.ly
covnert-ly
[lilypond.git] / input / test / add-text-script.ly
index 6b0effff0ea4f21a263af1b7ce84f82579e65f53..0e79aac6dfe6ca83eb043ba65ae21e3bd98b53ef 100644 (file)
@@ -1,4 +1,4 @@
-\version "1.3.146"
+\version "1.5.68"
 \header {
 texidoc= "Using make-music, you can add
 various stuff to notes. Here is an example
@@ -10,13 +10,13 @@ create, then write a function that will build the structure for you."
 
 #(define (make-text-script x) 
    (let ((m (ly-make-music "Text_script_req")))
-     (ly-set-mus-property m 'text-type 'finger)
-     (ly-set-mus-property m 'text x)
+     (ly-set-mus-property! m 'text-type 'finger)
+     (ly-set-mus-property! m 'text x)
      m))
      
 #(define (add-text-script m x)
    (if (equal? (ly-music-name m) "Request_chord")
-       (ly-set-mus-property m 'elements
+       (ly-set-mus-property! m 'elements
                            (cons (make-text-script x)
                                  (ly-get-mus-property m 'elements)))