]> git.donarmstrong.com Git - lilypond.git/commitdiff
*** empty log message ***
authorHan-Wen Nienhuys <hanwen@xs4all.nl>
Sun, 9 May 2004 13:06:36 +0000 (13:06 +0000)
committerHan-Wen Nienhuys <hanwen@xs4all.nl>
Sun, 9 May 2004 13:06:36 +0000 (13:06 +0000)
Documentation/topdocs/NEWS.texi
ly/music-functions-init.ly [new file with mode: 0644]

index 1476b409eaf24ad9a1e7d603d87a4afffc80ecb4..bbd55c2d4436060d42f8cba08b9cfa86713b17db 100644 (file)
@@ -8,7 +8,7 @@
 
 @itemize @bullet
 @item The @code{--safe} mode has been revisited: it makes the basic
-ly: interface available, and makes prevents Scheme or @TeX{} code.
+ly: interface available, and stops malicious @TeX{} code.
 
 @item Music syntax can now be extended seamlessly. As an example,
 here is the new implementation @code{\applymusic},
diff --git a/ly/music-functions-init.ly b/ly/music-functions-init.ly
new file mode 100644 (file)
index 0000000..7eeae8d
--- /dev/null
@@ -0,0 +1,31 @@
+applymusic = #(ly:make-music-function
+   (list procedure? ly:music?) ; signature
+   (lambda (where func music)  ; the function
+     (func music)))
+
+\version "2.3.1"
+
+
+
+%{
+
+TODO:
+
+remove these from the parser, and softcode here:
+
+ * \addlyrics
+ * \tag
+ * \appoggiatura, \acciaccatura, \grace
+ * \partcombine
+ * \autochange
+ * \applycontext
+ * \applyoutput
+ * \breathe
+
+
+with small syntax changes, we could also do
+
+ * \bar
+ *  ?
+
+%}