X-Git-Url: https://git.donarmstrong.com/?a=blobdiff_plain;f=scm%2Fdocumentation-lib.scm;h=ede9e2256232838d24b547e1aba29dec21bccdf7;hb=1617b2130ae3b3eba29ea925ecac3c5dda52b98c;hp=49a251720d4f78c7df5cb6125372e930110871ed;hpb=bd751630011a6fbfcf069ec1fc41a8eaed8a6b87;p=lilypond.git diff --git a/scm/documentation-lib.scm b/scm/documentation-lib.scm index 49a251720d..ede9e22562 100644 --- a/scm/documentation-lib.scm +++ b/scm/documentation-lib.scm @@ -1,6 +1,6 @@ ;;;; This file is part of LilyPond, the GNU music typesetter. ;;;; -;;;; Copyright (C) 2000--2012 Han-Wen Nienhuys +;;;; Copyright (C) 2000--2014 Han-Wen Nienhuys ;;;; Jan Nieuwenhuizen ;;;; ;;;; LilyPond is free software: you can redistribute it and/or modify @@ -52,8 +52,8 @@ (node-children node))) "")) port) - (map (lambda (x) (dump-node x port (+ 1 level))) - (node-children node))) + (for-each (lambda (x) (dump-node x port (+ 1 level))) + (node-children node))) (define (processing name) (ly:basic-progress (_ "Processing ~S...") name)) @@ -101,7 +101,7 @@ string-to-use). If QUOTE? is #t, embed table in a @quotation environment." "\n" (if quote? "@quotation\n" "") "@table @asis\n" - (apply string-append (map one-item->texi items-alist)) + (string-concatenate (map one-item->texi items-alist)) "\n" "@end table\n" (if quote? "@end quotation\n" ""))) @@ -113,14 +113,14 @@ string-to-use). If QUOTE? is #t, embed table in a @quotation environment." (string-append "\n@menu" - (apply string-append - (map (lambda (x) - (string-append - (string-pad-right - (string-append "\n* " (car x) ":: ") - (+ maxwid 8)) - (cdr x))) - items-alist)) + (string-concatenate + (map (lambda (x) + (string-append + (string-pad-right + (string-append "\n* " (car x) ":: ") + (+ maxwid 8)) + (cdr x))) + items-alist)) "\n@end menu\n" ;; Menus don't appear in html, so we make a list ourselves "\n@ignore\n"