On 2010-01-31, Patrick McCarty wrote:
> On Sun, Jan 31, 2010 at 8:34 PM, Graham Percival
> <gra...@percival-music.ca> wrote:
> 
> > I missed the chance to do such investigations today, but I'll try
> > to do a bit during the week.  I'll postpone 2.13.12 until this is
> > fixed.
> > (actually, I should check the docs for 2.13.11 and earlier: did
> > they have the same problem?)
> 
> Yes, the 2.13.11 docs are affected.  The behavior changed with John's
> commit c258b7.
> 
> The attached patch significantly reduces the number of options, but I
> don't know if this is the output John was originally intending for.

Sorry, here's a real patch (in case this is the correct fix).

Thanks,
Patrick
>From b1cfa64a7c483a852a9f094dd84ccc88f696343b Mon Sep 17 00:00:00 2001
From: Patrick McCarty <pnor...@gmail.com>
Date: Sun, 31 Jan 2010 22:33:34 -0800
Subject: [PATCH] lilypond-book: Remove extraneous commented options.

---
 scripts/lilypond-book.py |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/scripts/lilypond-book.py b/scripts/lilypond-book.py
index ac3969c..1f8a010 100644
--- a/scripts/lilypond-book.py
+++ b/scripts/lilypond-book.py
@@ -1205,7 +1205,7 @@ left-margin-default right-margin-default)"
         option_list = []
         for option in self.get_option_list ():
             for name in PROCESSING_INDEPENDENT_OPTIONS:
-                if not option.startswith (name):
+                if option.startswith (name):
                     option_list.append (option)
         option_string = ','.join (option_list)
 
-- 
1.6.6.1

_______________________________________________
lilypond-devel mailing list
lilypond-devel@gnu.org
http://lists.gnu.org/mailman/listinfo/lilypond-devel

Reply via email to