lilypond-user
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Displaying internal variables


From: David Kastrup
Subject: Re: Displaying internal variables
Date: Wed, 05 May 2021 19:37:09 +0200
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (gnu/linux)

Thomas Morley <thomasmorley65@gmail.com> writes:

> Probably even more generic (and with a different printing function):
>
>         (ly:context-property
>           (ly:context-property-where-defined ctx 'keepAliveInterfaces)
>           'keepAliveInterfaces)))

That's comparatively non-sensical since ly:context-property will take
the property from where ly:context-property-where-defined will locate it
anyway.

Using ly:context-property-where-defined can be useful when you want to
_overwrite_ a property at the level it is defined.  For reading it, it
is quite pointless.

-- 
David Kastrup



reply via email to

[Prev in Thread] Current Thread [Next in Thread]