2011/9/22 David Kastrup <[email protected]>

> You can take a look at the definition of tweak in
> ly/music-functions-init.ly and transplant the Scheme code directly into
> your function instead of using #{ #} for it.
>
> --
> David Kastrup
>

This way I guess:

\version "2.14.2"

notToBarline = #(define-music-function (parser location arg) (ly:music?)
   (set! (ly:music-property arg 'tweaks)
    (acons 'to-barline #f
       (ly:music-property arg 'tweaks)))
       arg)

{
c1 -\notToBarline \< |
d4\!  % etc.
}


Many thanks,
  Harm
_______________________________________________
lilypond-user mailing list
[email protected]
https://lists.gnu.org/mailman/listinfo/lilypond-user

Reply via email to