lilypond-devel
[Top][All Lists]
Advanced

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

Re: no anonymous functions in define-grobs.scm?


From: Neil Puttock
Subject: Re: no anonymous functions in define-grobs.scm?
Date: Tue, 31 May 2011 22:34:58 +0100

On 26 May 2011 17:29, Joe Neeman <address@hidden> wrote:
> The attached patch fixes issue 1300, but I'm wary of it because
> define-grobs.scm:23 says ";;;; WARNING: don't use anonymous functions for
> initialization." Does anyone know why that is?

Nope.  Perhaps it's something to do with documentation generation.

> Normally I'd use an
> ly:simple-closure instead of an anonymous function, but that doesn't work
> because "or" is a macro...

Why can't you just add a named function (e.g.,
text-interface::calc-cross-staff) in output-lib.scm?

Cheers,
Neil



reply via email to

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