]> git.donarmstrong.com Git - lilypond.git/commitdiff
Fix type predicates/docstrings for two music properties.
authorNeil Puttock <n.puttock@gmail.com>
Sat, 3 Apr 2010 21:28:20 +0000 (22:28 +0100)
committerNeil Puttock <n.puttock@gmail.com>
Sat, 3 Apr 2010 21:28:20 +0000 (22:28 +0100)
* scm/define-music-properties.scm (all-music-properties):

  fix type predicates for 'span-type and 'span-text

  emend decscriptions, since both properties are now only used for dynamics

* scm/define-music-types.scm (music-descriptions):

  remove 'span-type setting for LigatureEvent

scm/define-music-properties.scm
scm/define-music-types.scm

index e252324e85b3a3e290932a9f4debc2f890acd6ea..393efd13adb05b4d7abc92bc79183b5414034a0d 100644 (file)
@@ -152,11 +152,10 @@ or down-stem?")
      (repeat-count ,integer? "Do a @code{\\repeat} how often?")
 
      (span-direction ,ly:dir? "Does this start or stop a spanner?")
-     (span-type ,string? "What kind of spanner should be created? E.g. ligature
-for ligatures, or text or hairpin for (de-)crescendi.
-
-TODO: Consider making type into symbol.")
-     (span-text ,string? "The displayed text for text spanners (e.g. cresc.)")
+     (span-type ,symbol? "What kind of dynamic spanner should be created?
+Options are @code{'text} and @code{'hairpin}.")
+     (span-text ,markup? "The displayed text for dynamic text spanners
+(e.g., cresc.)")
      (split-list ,list? "Splitting moments for part combiner.")
      (start-callback ,procedure? "Function to compute the negative length
 of starting grace notes.  This property can only be defined as initializer
index 356ba898a98006489fb9ac367ba0b8074b6aa913..60d66e03c6a52c7efeb2fa2b2226429392f59318 100644 (file)
@@ -251,7 +251,6 @@ Syntax: @var{note}@code{\\laissezVibrer}")
 
     (LigatureEvent
      . ((description . "Start or end a ligature.")
-       (span-type . ligature)
        (types . (general-music span-event ligature-event event))
        ))