Hi David,

Thank you for the helpful reply and documentation/explanation.

> -- Function: ly:chain-assoc-get key achain default-value
>          strict-checking
>     Return value for KEY from a list of alists ACHAIN.  If no entry is
>     found, return DEFAULT-VALUE or ‘#f’ if DEFAULT-VALUE is not
>     specified.  [...]
> 
> DEFAULT-VALUE is specified as markp, and a markup is never #f.  So your
> condition is always true when the specified KEY cannot be found.

So how could I code the when-property function so that it is false when the KEY 
cannot be found?

Thank you,
Kieren.
________________________________

Kieren MacMillan, composer
‣ website: www.kierenmacmillan.info
‣ email: i...@kierenmacmillan.info


_______________________________________________
lilypond-user mailing list
lilypond-user@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-user

Reply via email to