From 1f2825d8fb8135c0f22dd954e0069db1d6d41c64 Mon Sep 17 00:00:00 2001 From: David Kastrup Date: Thu, 25 Oct 2012 14:48:46 +0200 Subject: [PATCH] Let \footnote and \shape rely on \tweak for overrides --- ly/music-functions-init.ly | 12 ++---------- 1 file changed, 2 insertions(+), 10 deletions(-) diff --git a/ly/music-functions-init.ly b/ly/music-functions-init.ly index b060039322..f916551cc6 100644 --- a/ly/music-functions-init.ly +++ b/ly/music-functions-init.ly @@ -410,9 +410,7 @@ to the preceding note or rest as a post-event with @code{-}.") 'automatically-numbered (not mark) 'text (or mark (make-null-markup)) 'footnote-text footnote))) - (if (ly:music? item) - #{ \tweak footnote-music #mus #item #} - #{ \once\override $item #'footnote-music = #mus #}))) + #{ \tweak footnote-music #mus #item #})) grace = #(def-grace-function startGraceMusic stopGraceMusic @@ -1165,13 +1163,7 @@ appropriate tweak applied.") (if (>= total-found 2) (helper siblings offsets) (offset-control-points (car offsets))))) - (if (ly:music? item) - #{ - \tweak control-points #shape-curve $item - #} - #{ - \once \override $item #'control-points = #shape-curve - #})) + #{ \tweak control-points #shape-curve #item #}) shiftDurations = #(define-music-function (parser location dur dots arg) -- 2.39.5