]> git.donarmstrong.com Git - lilypond.git/commitdiff
Let \rightHandFinger accept arbitrary markup as text
authorDavid Kastrup <dak@gnu.org>
Sun, 10 Feb 2013 15:05:17 +0000 (16:05 +0100)
committerDavid Kastrup <dak@gnu.org>
Wed, 13 Feb 2013 22:10:51 +0000 (23:10 +0100)
ly/music-functions-init.ly

index c063b9585da50b8d9325f73aab5ebb4c0c45cd6e..6694c4ae061eed20772a7a23ae5bb4247fad3e03 100644 (file)
@@ -1061,13 +1061,12 @@ for time signatures of @var{time-signature}.")
    (revert-time-signature-setting time-signature))
 
 rightHandFinger =
-#(define-event-function (parser location finger) (number-or-string?)
+#(define-event-function (parser location finger) (number-or-markup?)
    (_i "Apply @var{finger} as a fingering indication.")
 
    (make-music
             'StrokeFingerEvent
-            'origin location
-            (if (string? finger) 'text 'digit)
+            (if (number? finger) 'digit 'text)
             finger))
 
 scaleDurations =