lilypond-user
[Top][All Lists]
Advanced

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

`ly:context-property` and empty alist


From: Werner LEMBERG
Subject: `ly:context-property` and empty alist
Date: Sun, 10 Jul 2022 11:46:58 +0000 (UTC)

The documentation of `ly:context-property` is as follows.

  -- Function: ly:context-property context sym def

     Return the value for property SYM in CONTEXT.  If DEF is given,
     and property value is ‘'()’, return DEF.

I have a use case where I want to say

```
\set SYM = #'()
```

i.e., I explicitly want to override the default DEF with an empty
list.  How can I do that?


    Werner

reply via email to

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