X-Git-Url: https://git.donarmstrong.com/?a=blobdiff_plain;f=scm%2Fdocument-backend.scm;h=c1288deff52bc03e8bfad40e62de628bdd8d23c1;hb=80072e19b47514914cb095cbe974b9a180cd295e;hp=a4c25cfe3cbcda60717f0c4fa1e311f89f8d9d9f;hpb=44dd3acc534e7a534f846810b481c3f603eaa92e;p=lilypond.git diff --git a/scm/document-backend.scm b/scm/document-backend.scm index a4c25cfe3c..c1288deff5 100644 --- a/scm/document-backend.scm +++ b/scm/document-backend.scm @@ -24,7 +24,7 @@ ;; properly sort all grobs, properties, and interfaces ;; within the all-grob-descriptions alist -(map +(for-each (lambda (x) (let* ((props (assoc-ref all-grob-descriptions (car x))) (meta (assoc-ref props 'meta)) @@ -70,17 +70,17 @@ (define iface->grob-table (make-hash-table 61)) ;; extract ifaces, and put grob into the hash table. -(map +(for-each (lambda (x) (let* ((meta (assoc-get 'meta (cdr x))) (ifaces (assoc-get 'interfaces meta))) - (map (lambda (iface) - (hashq-set! - iface->grob-table iface - (cons (car x) - (hashq-ref iface->grob-table iface '())))) - ifaces))) + (for-each (lambda (iface) + (hashq-set! + iface->grob-table iface + (cons (car x) + (hashq-ref iface->grob-table iface '())))) + ifaces))) all-grob-descriptions) ;; First level Interface description @@ -178,17 +178,17 @@ node." ;;;;;;;;;; check for dangling backend properties. (define (mark-interface-properties entry) - (map (lambda (x) (set-object-property! x 'iface-marked #t)) - (caddr (cdr entry)))) + (for-each (lambda (x) (set-object-property! x 'iface-marked #t)) + (caddr (cdr entry)))) -(map mark-interface-properties interface-description-alist) +(for-each mark-interface-properties interface-description-alist) (define (check-dangling-properties prop) (if (not (object-property prop 'iface-marked)) (ly:error (string-append "define-grob-properties.scm: " (_ "cannot find interface for property: ~S")) prop))) -(map check-dangling-properties all-backend-properties) +(for-each check-dangling-properties all-backend-properties) ;;;;;;;;;;;;;;;;