]> git.donarmstrong.com Git - lilypond.git/blobdiff - scm/lily.scm
Doc: NR - 3.4.2 - update eg. Score.skipTypesetting
[lilypond.git] / scm / lily.scm
index b2283e548719975b74db44bfb8fc754dfa68c447..ff5d66dfeda1ca70294b161031d538d6815b16bf 100644 (file)
@@ -51,6 +51,9 @@
 ;; No public setters: should not get overwritten in action
 (define-public (*parser*) (fluid-ref %parser))
 (define-public (*location*) (fluid-ref %location))
+;; but properly scoped location should be fine
+(defmacro-public with-location (loc . body)
+  `(with-fluids ((,%location ,loc)) ,@body))
 
 ;; It would be nice to convert occurences of parser/location to
 ;; (*parser*)/(*location*) using the syncase module but it is utterly
@@ -575,7 +578,6 @@ messages into errors.")
     "auto-beam.scm"
     "chord-name.scm"
     "bezier-tools.scm"
-    "ly-syntax-constructors.scm"
 
     "define-context-properties.scm"
     "translation-functions.scm"