X-Git-Url: https://git.donarmstrong.com/?a=blobdiff_plain;f=scm%2Fsafe-utility-defs.scm;h=9591edb4f55ba43820447c7c5f3f4d37372227d3;hb=HEAD;hp=fa6f2e7d306a5b28e43e4e985bc94360d93fad9d;hpb=f076211421e76f94d1db28a584d85e5181573736;p=lilypond.git diff --git a/scm/safe-utility-defs.scm b/scm/safe-utility-defs.scm index fa6f2e7d30..9591edb4f5 100644 --- a/scm/safe-utility-defs.scm +++ b/scm/safe-utility-defs.scm @@ -1,6 +1,6 @@ ;;;; This file is part of LilyPond, the GNU music typesetter. ;;;; -;;;; Copyright (C) 1998--2014 Jan Nieuwenhuizen +;;;; Copyright (C) 1998--2015 Jan Nieuwenhuizen ;;;; Han-Wen Nienhuys ;;;; ;;;; LilyPond is free software: you can redistribute it and/or modify @@ -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)))