]> git.donarmstrong.com Git - lilypond.git/commitdiff
Fix 485.
authorJoe Neeman <joeneeman@gmail.com>
Tue, 20 Nov 2007 22:30:29 +0000 (09:30 +1100)
committerJoe Neeman <joeneeman@gmail.com>
Mon, 26 Nov 2007 23:22:55 +0000 (10:22 +1100)
Mark lilypond-version as safe.

scm/lily.scm

index 3701011a4facf91e054e1bbdd363849ed9fbaacc..efa40f338be6236123df3c4c50d881e573af4155 100644 (file)
@@ -158,14 +158,6 @@ on errors, and print a stack trace.")
 
 (define-public parser #f)
 
-(define-public (lilypond-version)
-  (string-join
-   (map (lambda (x) (if (symbol? x)
-                       (symbol->string x)
-                       (number->string x)))
-       (ly:version))
-   "."))
-
 
 ;; TeX C++ code actually hooks into TEX_STRING_HASHLIMIT 
 (define-public TEX_STRING_HASHLIMIT 10000000)
@@ -292,6 +284,14 @@ The syntax is the same as `define*-public'."
                                 safe-objects))
        ,safe-symbol)))
 
+(define-safe-public (lilypond-version)
+  (string-join
+   (map (lambda (x) (if (symbol? x)
+                       (symbol->string x)
+                       (number->string x)))
+       (ly:version))
+   "."))
+
 ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
 ;; init pitch system