On Fri, Dec 16, 2016 at 8:11 AM, David Nalesnik <david.nales...@gmail.com> wrote: > On Fri, Dec 16, 2016 at 8:07 AM, Knut Petersen > <knut_peter...@t-online.de> wrote: >> Am 16.12.2016 um 14:38 schrieb Urs Liska: >>> >>> >>>> As your knowledge of scheme seems to be well developed, could you give >>>> a scheme equivalent of >>>> >>>> forceExtender = { \once \override LyricExtender.force-extender = ##t } >>>> >>>> that is acceptable to lilypond? >>> >>> #(once (overrideProperty '(LyricExtender force-extender) #t)) >>> >>> (untested) >> >> Thanks a lot for the quick answer. If I put >> >> (define-public (forceExtender) >> (once (overrideProperty '(LyricExtender force-extender) #t))) >> >> into scm/music-functions.scm, lilypond does know \forceExtender ... but it >> complains about a "non-music expression" >> if it is used ... > > > If you are defining a music function, do it in ly/music-functions-init.ly,
Or if it's simply setting a property, as here, in ly/property.init.ly ... _______________________________________________ lilypond-devel mailing list lilypond-devel@gnu.org https://lists.gnu.org/mailman/listinfo/lilypond-devel