only process options fi they're there.
(write_file_map): add version-seen? to snippet-map.ly
* scripts/lilypond-book.py (Lilypond_snippet.__init__):
only process options fi they're there.
+ (write_file_map): add version-seen? to snippet-map.ly
2005-04-06 Jan Nieuwenhuizen <jan.nieuwenhuizen@aspiratie.nl>
def write_file_map (lys, name):
snippet_map = open ('snippet-map.ly', 'w')
- snippet_map.write ("\n#(ly:add-file-name-alist '(")
+ snippet_map.write ("""
+#(define version-seen? #t)
+#(ly:add-file-name-alist '(
+""")
for ly in lys:
snippet_map.write ('("%s.ly" . "%s:%d (%s.ly)")\n' \
% (ly.basename (),