From c1e1d88b5c341bfcf4d4a8d0f008c3316d143235 Mon Sep 17 00:00:00 2001 From: hanwen Date: Thu, 24 Jul 2003 14:01:02 +0000 Subject: [PATCH] (Manipulating music expressions): run lilypond on example too. --- Documentation/user/internals.itely | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/Documentation/user/internals.itely b/Documentation/user/internals.itely index f33af4ec27..7a466cd1a1 100644 --- a/Documentation/user/internals.itely +++ b/Documentation/user/internals.itely @@ -750,15 +750,15 @@ The syntax for @code{\apply} This means that the scheme function @var{func} is called with @var{music} as its argument. The return value of @var{func} is the result of the entire expresssion. @var{func} may read and write music -properties using the functions @code{ly:get-music-property} and -@code{ly:set-music-property!}. +properties using the functions @code{ly:get-mus-property} and +@code{ly:set-mus-property!}. An example is a function that reverses the order of elements in its argument: @lilypond[verbatim,singleline] #(define (rev-music-1 m) - (ly:set-music-property! 'elements (reverse - (ly:get-music-property mus 'elements))) + (ly:set-mus-property! 'elements (reverse + (ly:get-mus-property mus 'elements))) m) \apply #rev-music-1 { c4 d4 } @end lilypond -- 2.39.5