From: David Kastrup <dak@gnu.org> Date: Thu, 25 Oct 2012 12:48:46 +0000 (+0200) Subject: Let \footnote and \shape rely on \tweak for overrides X-Git-Tag: release/2.17.6-1~5 X-Git-Url: https://git.donarmstrong.com/?a=commitdiff_plain;h=1f2825d8fb8135c0f22dd954e0069db1d6d41c64;p=lilypond.git Let \footnote and \shape rely on \tweak for overrides --- 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)