X-Git-Url: https://git.donarmstrong.com/lilypond.git?a=blobdiff_plain;f=ly%2Fpredefined-fretboards-init.ly;h=705e9628720702b5f24ad21daf9948a2a268f3fb;hb=0ac07f31e0f95fc18e5916ce756b9c746af7cc58;hp=71000148b6708d4770c60beac2e1a35bcf7df470;hpb=2f1263e2ccdddcac2eb9f7d8ce2ed92867d3d160;p=lilypond.git diff --git a/ly/predefined-fretboards-init.ly b/ly/predefined-fretboards-init.ly index 71000148b6..705e962872 100644 --- a/ly/predefined-fretboards-init.ly +++ b/ly/predefined-fretboards-init.ly @@ -30,14 +30,13 @@ % chord-shape-table addChordShape = -#(define-music-function (parser location key-symbol tuning shape-definition) +#(define-void-function (parser location key-symbol tuning shape-definition) (symbol? pair? string-or-pair?) (_i "Add chord shape @var{shape-definition} to the @var{chord-shape-table} hash with the key @code{(cons @var{key-symbol} @var{tuning})}.") (hash-set! chord-shape-table (cons key-symbol tuning) - shape-definition) - (make-music 'SequentialMusic 'void #t)) + shape-definition)) #(define (chord-shape shape-code tuning) (get-chord-shape shape-code tuning chord-shape-table)) @@ -62,7 +61,7 @@ table @code{rest}." % fretboard-table storePredefinedDiagram = -#(define-music-function +#(define-void-function (parser location fretboard-table chord tuning diagram-definition) (hash-table? ly:music? pair? string-or-pair?) (_i "Add predefined fret diagram defined by @var{diagram-definition} @@ -75,5 +74,4 @@ storePredefinedDiagram = diagram-definition))) (hash-set! fretboard-table hash-key - verbose-definition) - (make-music 'SequentialMusic 'void #t))) + verbose-definition)))