]> git.donarmstrong.com Git - lilypond.git/blobdiff - ly/declarations-init.ly
Doc: Add @funindex for \newSpacingSection (3185)
[lilypond.git] / ly / declarations-init.ly
index c2bdb96b70bfec25937f8cef51191c887028ac96..0ffc57a578ee11dff5143a44a1381a4632b161a6 100644 (file)
@@ -18,9 +18,6 @@
 
 \version "2.17.6"
 
-%% < 1.8 compatibility switch
-#(ly:set-option 'old-relative)
-
 %% named durations
 breve = #(ly:make-duration -1 0)
 longa = #(ly:make-duration -2 0)
@@ -41,6 +38,10 @@ maxima = #(ly:make-duration -3 0)
 
 #(define default-fret-table (make-hash-table 101))
 #(define chord-shape-table (make-hash-table 29))
+#(call-after-session
+  (lambda ()
+   (hash-clear! default-fret-table)
+   (hash-clear! chord-shape-table)))
 
 % declarations for standard directions
 left = #-1
@@ -99,6 +100,9 @@ repeatTie = #(make-music 'RepeatTieEvent)
 
 %% MAKE-HASH-TABLE in GUILE 1.6 takes mandatory size parameter.
 #(define musicQuotes (make-hash-table 29))
+#(call-after-session
+  (lambda ()
+   (hash-clear! musicQuotes)))
 
 #(define toplevel-book-handler print-book-with-defaults)
 #(define toplevel-bookpart-handler collect-bookpart-for-book)