[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: create custom context definitions using a scheme function
From: |
David Kastrup |
Subject: |
Re: create custom context definitions using a scheme function |
Date: |
Fri, 10 Jan 2014 01:36:33 +0100 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/24.3.50 (gnu/linux) |
David Kastrup <address@hidden> writes:
> Janek Warchoł <address@hidden> writes:
>
>> 2014/1/9 David Kastrup <address@hidden>:
>>
>> So how can i achieve what i want?
>
> Make a Scheme assignment. Something like
> #(define-void-function (parser location ...) ...
> (ly:parser-define! parser '$defaultlayout #{ \layout ... #}))
Or just use your original code after
Tracker issue: 3793 (http://code.google.com/p/lilypond/issues/detail?id=3793)
Rietveld issue: 50130044 (http://codereview.appspot.com/50130044)
Issue description:
Allow scheme functions and identifiers to function as output
definitions
has passed... And yes, I know that the situation for context defs is
comparable, but I need to go to bed now.
--
David Kastrup