X-Git-Url: https://git.donarmstrong.com/?a=blobdiff_plain;f=scm%2Fdocument-markup.scm;h=8761deb83db17b031f0d65f12f1d7e9ef7395053;hb=b1487360318311d57874d0e713268ee2abda9d76;hp=27d1229ddebc4414958224e75a92a7eba57adced;hpb=e29fe3388c64f6d70fcc074a6240477ae0f72fee;p=lilypond.git diff --git a/scm/document-markup.scm b/scm/document-markup.scm index 27d1229dde..8761deb83d 100644 --- a/scm/document-markup.scm +++ b/scm/document-markup.scm @@ -2,13 +2,13 @@ ;;;; ;;;; source file of the GNU LilyPond music typesetter ;;;; -;;;; (c) 1998--2006 Han-Wen Nienhuys +;;;; (c) 1998--2007 Han-Wen Nienhuys ;;;; Jan Nieuwenhuizen (define (doc-markup-function func) (let* ((doc-str (procedure-documentation func)) (f-name (symbol->string (procedure-name func))) - (c-name (regexp-substitute/global #f "-markup$" f-name 'pre "" 'post)) + (c-name (regexp-substitute/global #f "-markup(-list)?$" f-name 'pre "" 'post)) (sig (object-property func 'markup-signature)) (arg-names (let ((arg-list (cadr (procedure-source func)))) (if (list? arg-list) @@ -45,8 +45,22 @@ (sort markup-function-list markup-function #:name "Markup functions" #:desc "Definitions of the markup functions." #:text (markup-doc-string))) + +(define (markup-list-doc-node) + (make + #:name "Markup list functions" + #:desc "Definitions of the markup list functions." + #:text (markup-list-doc-string)))