[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Controlling compilation
From: |
David Kastrup |
Subject: |
Re: Controlling compilation |
Date: |
Mon, 11 Apr 2016 09:29:40 +0200 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/25.1.50 (gnu/linux) |
David Sumbler <address@hidden> writes:
> As an experiment, I produced this:
>
> File: experimentNotes.ly
>
> \version "2.19.24"
>
> compileA =
> \score {
> \new Staff {
> a' a' a' a'
> }
> \layout { }
> }
[...]
> #(if sectionA #{ \compileA #} )
#... at top level is executed and the result ignored to allow for
#(set! ...) and similar expressions with usually unspecified return
#codes. Just try
$(if sectionA compileA)
instead.
--
David Kastrup