lilypond-user
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: lilypond 2.21 & scheme unbound variable


From: Thomas Morley
Subject: Re: lilypond 2.21 & scheme unbound variable
Date: Mon, 1 Apr 2019 23:16:39 +0200

Am Mo., 1. Apr. 2019 um 23:10 Uhr schrieb Gianmaria Lari
<address@hidden>:
>
> The following function has been written by David Kastrup few years ago but it 
> does  not compile on lilypond 2.21
>
> \version "2.21.0"
>
> newFinger =
> #(define-event-function (arg) (number-or-markup?)
>   #{ -\markup \underline \finger
>      #(if (number? arg) (number->string arg) arg)
>   #})
>
>
> The error I get is the following:
>
> error: GUILE signaled an error for the expression beginning here
>
> #
>
> (define-event-function (arg) (number-or-markup?)
>
>
> Unbound variable: number-or-markup?
>
> Unbound variable: number-or-markup?
>
>
> How can I fix it?

number-or-markup? was replaced by integer-or-markup?, so use this predicate.

HTH,
  Harm



reply via email to

[Prev in Thread] Current Thread [Next in Thread]