Am Samstag, dem 01.05.2021 um 10:16 +0200 schrieb Jean Abou Samra: > Since commit 4751d0a66e97a61c763c150bb38f0446cc945f4d, > ly/turkish-makam.ly contains this: > > #(set! standard-alteration-glyph-name-alist > (append turkishMakamGlyphs > standard-alteration-glyph-name-alist)) > > > which changes the shared variable > standard-alteration-glyph-name-alist, used by the > \sharp markup command among others. > > [...] > > This means that if a snippet using turkish-makam.ly > is compiled, in the same session, before a file > using \markup \sharp, the glyph changes. > > Basically the mechanism should be changed so that > set! is no longer needed.
I think all that's needed is changing (define-public standard-alteration-glyph-name-alist to (define-session-public standard-alteration-glyph-name-alist and the session mechanism will take care to restore the initial value after each file (as lang as you don't use destructive operations on that initial value). Jonas
signature.asc
Description: This is a digitally signed message part