]> git.donarmstrong.com Git - lilypond.git/commitdiff
(main): scrap invokes_lilypond().
authorHan-Wen Nienhuys <hanwen@xs4all.nl>
Wed, 22 Feb 2006 02:16:38 +0000 (02:16 +0000)
committerHan-Wen Nienhuys <hanwen@xs4all.nl>
Wed, 22 Feb 2006 02:16:38 +0000 (02:16 +0000)
ChangeLog
scripts/lilypond-book.py

index e36ae258fa58d2413aec59ec2be60233866e16df..7657b3455878ffcac0a649efb3f0678241f122df 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,7 @@
 2006-02-22  Han-Wen Nienhuys  <hanwen@xs4all.nl>
 
+       * scripts/lilypond-book.py (main): scrap invokes_lilypond(). 
+
        * Documentation/user/basic-notation.itely (Ties): document \repeatTie.
 
        * Documentation/topdocs/NEWS.tely (Top): document \repeatTie.
index c6fdb3ab00217d6ce4898c3fdeff2790503b0d03..9a4df3c6da1ead99c31b000c5ce25d4e9f347da8 100644 (file)
@@ -675,9 +675,6 @@ def split_options (option_string):
                                         option_string)
        return []
 
-def invokes_lilypond ():
-       return re.search ('^[\'\"0-9A-Za-z/.]*lilypond', process_cmd)
-
 def set_default_options (source):
        global default_ly_options
        if not default_ly_options.has_key (LINE_WIDTH):
@@ -1303,7 +1300,7 @@ def process_snippets (cmd, ly_snippets, texstr_snippets, png_snippets):
        # UGH
        # the --process=CMD switch is a bad idea
        # it is too generic for lilypond-book.
-       if texstr_names and invokes_lilypond ():
+       if texstr_names:
                my_system (string.join ([cmd, '--backend texstr',
                                         'snippet-map.ly'] + texstr_names))
                for l in texstr_names:
@@ -1658,7 +1655,7 @@ def main ():
 
        try:
                chunks = do_file (file)
-               if psfonts_p and invokes_lilypond ():
+               if psfonts_p:
                        fontextract.verbose = verbose_p
                        snippet_chunks = filter (lambda x: is_derived_class (x.__class__,
                                                                              Lilypond_snippet),