[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [PATCH] scm/music-functions.scm: Let booleans be booleans.
From: |
Valentin Villenave |
Subject: |
Re: [PATCH] scm/music-functions.scm: Let booleans be booleans. |
Date: |
Thu, 7 Apr 2011 13:50:51 +0200 |
On Thu, Apr 7, 2011 at 9:27 AM, David Kastrup <address@hidden> wrote:
> @@ -910,12 +908,10 @@ then revert skipTypesetting."
> (let*
> ((show-last (ly:parser-lookup parser 'showLastLength))
> (show-first (ly:parser-lookup parser 'showFirstLength))
> - (show-last-length (if (ly:music? show-last)
> - (ly:music-length show-last)
> - #f))
> - (show-first-length (if (ly:music? show-first)
> - (ly:music-length show-first)
> - #f))
> + (show-last-length (and (ly:music? show-last)
> + (ly:music-length show-last)))
> + (show-first-length (and (ly:music? show-first)
> + (ly:music-length show-first)))
> (orig-length (ly:music-length music)))
This one's on me. Nice catch!
Cheers,
Valentin.