]> git.donarmstrong.com Git - lilypond.git/blobdiff - scm/document-functions.scm
*** empty log message ***
[lilypond.git] / scm / document-functions.scm
index 8924af01c62ee755e4fa5f38853956a01088161a..85e6219f784895f3d4644f1ec96107b1b81c9c88 100644 (file)
@@ -6,8 +6,7 @@
 ;;;;                 Jan Nieuwenhuizen <janneke@gnu.org>
 
 (use-modules
- (ice-9 regex)
- )
+ (ice-9 regex))
 
 (define (dashify-underscores str)
    (regexp-substitute/global #f "_" str 'pre "-" 'post))
   (string-append
    "@defun " (symbol->string name)  " " (format-c-header c-header) "\n"
    doc-string
-   "\n@end defun\n\n")
-   )
+   "\n@end defun\n\n"))
 
 (define all-scheme-functions
    (hash-fold
     (lambda (key val prior)
-      (cons (cons key val)  prior)
-      )
+      (cons (cons key val)  prior))
     '() (ly:get-all-function-documentation)))
 
 (define (all-scheme-functions-doc)
   (let*
-      (
-
-       (fdocs (map (lambda (x)
+      ((fdocs (map (lambda (x)
                (document-scheme-function (car x) (cadr x) (cddr x))
                )
              all-scheme-functions)
         )
-       (sfdocs (sort fdocs string<?))
-       )
-
-
+       (sfdocs (sort fdocs string<?))) 
     (make <texi-node>
       #:name "Scheme functions"
       #:desc "Primitive functions exported by LilyPond"
       #:text
-      (apply string-append sfdocs)
-       ) 
+      (apply string-append sfdocs)) 
   ))