/*
delay typeset until we're at the next moment, so we can silence custodes at the end of the piece.
*/
- for (int i = custodes_.size (); i--;)
- {
- typeset_grob (custodes_[i]);
- }
pitches_.clear ();
custos_permitted = false;
int p = pitches_[i].steps ();
SCM c0 = get_property ("middleCPosition");
- if (is_number (c0))
+ if (ly_c_number_p (c0))
p += ly_scm2int (c0);
Item*
Custos_engraver::create_custos ()
{
- Item* custos = make_item ("Custos");
+ Item* custos = make_item ("Custos", SCM_EOL);
+
- announce_grob (custos, SCM_EOL);
custodes_.push (custos);
return custos;
for (int i = custodes_.size (); i--;)
{
custodes_[i]->suicide ();
- typeset_grob (custodes_[i]);
}
custodes_.clear ();
}