From 0e4883e95834d2692a0568e42d2fe697ae771c3a Mon Sep 17 00:00:00 2001 From: Neil Puttock Date: Sat, 3 Apr 2010 22:28:20 +0100 Subject: [PATCH] Fix type predicates/docstrings for two music properties. * 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 | 9 ++++----- scm/define-music-types.scm | 1 - 2 files changed, 4 insertions(+), 6 deletions(-) diff --git a/scm/define-music-properties.scm b/scm/define-music-properties.scm index e252324e85..393efd13ad 100644 --- a/scm/define-music-properties.scm +++ b/scm/define-music-properties.scm @@ -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 diff --git a/scm/define-music-types.scm b/scm/define-music-types.scm index 356ba898a9..60d66e03c6 100644 --- a/scm/define-music-types.scm +++ b/scm/define-music-types.scm @@ -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)) )) -- 2.39.2