]> git.donarmstrong.com Git - lilypond.git/commitdiff
Issue4129/3: Let safe-utility-defs.scm avoid bugs in (ice-9 curried-definitions)
authorDavid Kastrup <dak@gnu.org>
Thu, 5 Jun 2014 18:14:40 +0000 (20:14 +0200)
committerDavid Kastrup <dak@gnu.org>
Wed, 24 Sep 2014 19:19:22 +0000 (21:19 +0200)
The exporting definitions in the GUILEv2 module
(ice-9 curried-definitions) were buggy until quite recently.

scm/safe-utility-defs.scm

index fa6f2e7d306a5b28e43e4e985bc94360d93fad9d..41abcaf9fbe1c438b683e6b253046d5d3aa78141 100644 (file)
@@ -48,8 +48,9 @@ LilyPond safe mode.  The syntax is the same as `define*-public'."
 
   (let ((safe-symbol (get-symbol arglist)))
     `(begin
-       (define*-public ,arglist
+       (define* ,arglist
          ,@body)
        (set! safe-objects (cons (cons ',safe-symbol ,safe-symbol)
                                 safe-objects))
+       (export ,safe-symbol)
        ,safe-symbol)))