Sure, define-music-function works fine. That part I just copied from the earlier snippet. That's a side issue, though.
On Mon, Jul 2, 2018 at 2:36 PM David Kastrup <d...@gnu.org> wrote: > Saul Tobin <saul.james.to...@gmail.com> writes: > > > Indeed, or StaffGroup level if I'm following correctly. > > And there is a StaffGroup. > > > My issue is that I want to change the default keepAliveInterfaces for > > one staff within a StaffGroup. (Probably should have just posted this > > as my initial example, I suppose.) > > > > \version "2.19.82" > > > > targetstaff = #(define-scheme-function (ctx) (string?) > > #{ > > \set Staff.keepAliveInterfaces = #'() > > \context Staff = #ctx { \unset Staff.keepAliveInterfaces } > > #}) > > Why not define-music-function? This seems like asking for trouble > unnecessarily. > > -- > David Kastrup >
_______________________________________________ lilypond-user mailing list lilypond-user@gnu.org https://lists.gnu.org/mailman/listinfo/lilypond-user