Skip to content

Commit

Permalink
make lyric-syllable-magnetic-snap work with Lily >= 2.19.11
Browse files Browse the repository at this point in the history
  • Loading branch information
akobel committed Dec 26, 2016
1 parent b2a77df commit bbba147
Showing 1 changed file with 4 additions and 1 deletion.
@@ -1,5 +1,7 @@
\version "2.18.0" % absolutely necessary!

\include "ly/_internal/utilities/lilypond-version-predicates.ily"

\header {
snippet-title = "Magnetic snapping lyric syllables"
snippet-author = "David Nalesnik and Mike Solomon,"
Expand Down Expand Up @@ -52,7 +54,8 @@
(let* ((meta-entry (assoc-get 'meta grob-entry))
(class (assoc-get 'class meta-entry))
(ifaces-entry (assoc-get 'interfaces meta-entry)))
(set-object-property! grob-name 'translation-type? list?)
(set-object-property! grob-name 'translation-type?
(if (lilypond-less-than? "2.19.11") list? ly:grob-properties?))
(set-object-property! grob-name 'is-grob? #t)
(set! ifaces-entry (append (case class
((Item) '(item-interface))
Expand Down

0 comments on commit bbba147

Please sign in to comment.