Displaying LilyPond’s data directory: Difference between revisions
m I changed an apostrophe to curly (typographical) punctuation and clarified where the directory will display. |
Print it to stderr |
||
| Line 4: | Line 4: | ||
<pre> | <pre> | ||
\version "2.24 | \version "2.24" | ||
#( | |||
#(ly:message "The LilyPond data directory is located at: ~a" (ly:get-option 'datadir)) | |||
</pre> | </pre> | ||
(Thanks to Mark Knoop for this code.) | (Thanks to Mark Knoop for this code.) | ||
[[Category:Snippet]] [[Category:Scheme]] | [[Category:Snippet]] | ||
[[Category:Scheme]] | |||