(... for now at least).
This fixes the include-string.ly regtest, and a few others,
that previously could not be compiled when enabling
the -dembed-source-code switch.
(if (ly:get-option 'embed-source-code)
(let ((source-list (delete-duplicates
(remove (lambda (str)
- (string-contains str
- (ly:get-option 'datadir)))
+ (or
+ (string-contains str
+ (ly:get-option 'datadir))
+ (string=? str
+ "<included string>")))
(ly:source-files)))))
(display "\n/pdfmark where
{pop} {userdict /pdfmark /cleartomark load put} ifelse" port)