Am 03.12.2013 20:39, schrieb David Kastrup:
Urs Liska <u...@openlilylib.org> writes:

When I use ly:context-mod? for a parameter in a music function a
string as the final part will be cut to list items.

if I write
\function \with { comment = "This should be verified" }

then the ly:context-mod? variable will hold

((assign comment This should be verified))

cdr-ing makes it (comment This should be verified)

So what's the best (or canonic) way to make that (comment "This should
be verified") again?
**Bing** Now it is so again.

More seriously: that's what it always has been.  Use "write" instead of
"display" and you'll probably see what you want to.

If you use format for output, learn about the difference between ~a and
~s formats.


Thanks for pointing this out.
with "write" I indeed see what I want to.

Still driving me crazy all this ...

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

Reply via email to