]> git.donarmstrong.com Git - lilypond.git/blobdiff - ly/toc-init.ly
Issue 3283: Stop table of contents bleedover
[lilypond.git] / 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")))