From: David Kastrup Date: Sat, 4 Jul 2015 14:43:03 +0000 (+0200) Subject: Issue 4481: \barNumberCheck has bad error location X-Git-Tag: release/2.19.23-1~22 X-Git-Url: https://git.donarmstrong.com/?a=commitdiff_plain;h=99d6bb300e425bb86301eb370b0e9c57de9ee817;p=lilypond.git Issue 4481: \barNumberCheck has bad error location --- diff --git a/lily/apply-context-iterator.cc b/lily/apply-context-iterator.cc index ce3fd032e2..5ed628491c 100644 --- a/lily/apply-context-iterator.cc +++ b/lily/apply-context-iterator.cc @@ -35,9 +35,9 @@ void Apply_context_iterator::process (Moment m) { SCM proc = get_music ()->get_property ("procedure"); - if (ly_is_procedure (proc)) - scm_call_1 (proc, get_outlet ()->self_scm ()); + with_location (get_music ()->get_property ("origin"), + proc, get_outlet ()->self_scm ()); else get_music ()->origin ()->warning (_ ("\\applycontext argument is not a procedure"));