[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: ly:context-mod? list to string
From: |
David Kastrup |
Subject: |
Re: ly:context-mod? list to string |
Date: |
Tue, 03 Dec 2013 20:39:30 +0100 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/24.3.50 (gnu/linux) |
Urs Liska <address@hidden> 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.
--
David Kastrup