X-Git-Url: https://git.donarmstrong.com/?a=blobdiff_plain;f=lily%2Fglobal-context.cc;h=f0f138f324336c338543c737c924610b0573d0b4;hb=c39d188d28fdc84cef8cbaea7b8d6e2fb718c30f;hp=5aa70669dd259711b9daf4dae30bc3405a09ab64;hpb=e7aa6c445f463844dbaa52d38ea4aac2882b5601;p=lilypond.git diff --git a/lily/global-context.cc b/lily/global-context.cc index 5aa70669dd..f0f138f324 100644 --- a/lily/global-context.cc +++ b/lily/global-context.cc @@ -181,9 +181,7 @@ Global_context::apply_finalizations () SCM lst = get_property ("finalizations"); set_property ("finalizations", SCM_EOL); for (SCM s = lst; scm_is_pair (s); s = scm_cdr (s)) - - /* TODO: make safe. */ - scm_primitive_eval (scm_car (s)); + scm_apply_0 (scm_caar (s), scm_cdar (s)); } /* Add a function to execute before stepping to the next time step. */