SCM avc = lyrics->get_property ("associatedVoiceContext");
if (Context *c = unsmob<Context> (avc))
- return c;
+ {
+ if (!c->is_removable ())
+ return c;
+ }
SCM voice_name = lyrics->get_property ("associatedVoice");
string nm = lyrics->id_string ();
// here. Not with this mechanism.
if ((*end_mom == end_from_now)
&& dynamic_cast<Item *> (g)
- && Note_head::has_interface (g))
+ && has_interface<Note_head> (g))
{
return g;
}