@node Spacing
@subsection Spacing
+S
+
TODO: Move this section.
@refbugs
/*
-TODO: detect the top staff (staffsFound), and acknowledge staff-group
+TODO: detect the top staff (stavesFound), and acknowledge staff-group
system-start-delims. If we find these, and the top staff is in the
staff-group, add padding to the bar number.
therefore the location of its refpoint won't be very useful.
- We could also just use staffsFound, but lets keep this working
+ We could also just use stavesFound, but lets keep this working
without staffs as well.
*/
ptrptr = SCM_CDRLOC (c);
}
- c = gh_cdr (c);
+ if (gh_pair_p(c))
+ c = gh_cdr (c);
}
me->set_grob_property ("bounded-by-me", c);
volta engraver in score context or somesuch.
*/
- if (ly_car (scm_last_pair (staffs)) != staff_)
+ if (!gh_pair_p (staffs))
+ programming_error ("Huh? Volta engraver can't find staffs?");
+ else if (ly_car (scm_last_pair (staffs)) != staff_)
return ;
}