]> git.donarmstrong.com Git - lilypond.git/commitdiff
Issue 3283: Stop table of contents bleedover
authorDavid Kastrup <dak@gnu.org>
Wed, 3 Apr 2013 10:53:17 +0000 (12:53 +0200)
committerDavid Kastrup <dak@gnu.org>
Tue, 9 Apr 2013 07:37:55 +0000 (09:37 +0200)
ly/toc-init.ly

index 5511ed4689fcd4a4f13be5494d12dfb64dcc610f..3a3f6e08ab1724f432285706c722792342b2dbee 100644 (file)
@@ -7,6 +7,7 @@
   #f)
 
 #(let ((toc-item-list (list)))
+   (call-after-session (lambda () (set! toc-item-list '())))
    (set! add-toc-item!
         (lambda (markup-symbol text)
           (let ((label (gensym "toc")))