]> git.donarmstrong.com Git - lilypond.git/commitdiff
Move `symbol-or-boolean?' to c++.scm.
authorPatrick McCarty <pnorcks@gmail.com>
Thu, 30 Sep 2010 22:02:05 +0000 (15:02 -0700)
committerPatrick McCarty <pnorcks@gmail.com>
Fri, 19 Nov 2010 06:41:54 +0000 (22:41 -0800)
This also fixes one of the compile issues with Guile 1.9.

ly/music-functions-init.ly
scm/c++.scm

index f3e3777785794879a11762bd63e610f8ca50a988..82f5a91648a324e8437825fc2d1b31ee2effbdb7 100644 (file)
@@ -614,7 +614,6 @@ that they share a staff.")
    (make-part-combine-music parser
                             (list part1 part2)))
 
-#(define (symbol-or-boolean? x) (or (symbol? x) (boolean? x)))
 partcombineForce =
 #(define-music-function (location parser type once) (symbol-or-boolean? boolean?)
    (_i "Override the part-combiner.")
index bc518030ae8304889cc98a3d37015839a98c3a7d..7f28900917643c17fd0a5f0993601802a957097d 100644 (file)
@@ -55,6 +55,8 @@
 
 (define-public (scheme? x) #t)
 
+(define-public (symbol-or-boolean? x)
+  (or (symbol? x) (boolean? x)))
 
 ;; moved list to end of lily.scm: then all type-predicates are
 ;; defined.