]> git.donarmstrong.com Git - lilypond.git/commitdiff
Issue 3604: Fix function signature of overrideTimeSignatureSettings
authorDavid Kastrup <dak@gnu.org>
Mon, 7 Oct 2013 19:46:50 +0000 (21:46 +0200)
committerDavid Kastrup <dak@gnu.org>
Mon, 7 Oct 2013 20:53:43 +0000 (22:53 +0200)
Using fraction? rather than pair? is more discriminative, and using
the cheap-list? predicate rather than plain list? is not really a
significant time saver in a complex construct like this.

ly/music-functions-init.ly

index 3f88b07252704184fd0cdbb991b06f516902eee1..f47cd1d21422fb57f53c671544cc7bc6f9acbcf5 100644 (file)
@@ -728,7 +728,7 @@ ottava =
 overrideTimeSignatureSettings =
 #(define-music-function
    (parser location time-signature base-moment beat-structure beam-exceptions)
-   (pair? pair? cheap-list? cheap-list?)
+   (fraction? fraction? list? list?)
 
    (_i "Override @code{timeSignatureSettings}
 for time signatures of @var{time-signature} to have settings