]> git.donarmstrong.com Git - lilypond.git/blobdiff - ly/toc-init.ly
Add warning about using \relative with tagged music (3253)
[lilypond.git] / ly / toc-init.ly
index f959e1679f443f90b763f905ab0ce31af2f8f394..3a3f6e08ab1724f432285706c722792342b2dbee 100644 (file)
@@ -1,4 +1,4 @@
-\version "2.15.17"
+\version "2.16.0"
 
 %% defined later, in a closure
 #(define-public (add-toc-item! markup-symbol text)
@@ -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")))