X-Git-Url: https://git.donarmstrong.com/?a=blobdiff_plain;f=ly%2Fdeclarations-init.ly;h=0ffc57a578ee11dff5143a44a1381a4632b161a6;hb=0f882952d6c97277aec32d4476415393c00cc400;hp=f417f10d945fbbc42f7b9ca4f6b0d7d3a8a9e1b8;hpb=5b1f3adfe5e3561eaa0f9440e0697054084b7107;p=lilypond.git diff --git a/ly/declarations-init.ly b/ly/declarations-init.ly index f417f10d94..0ffc57a578 100644 --- a/ly/declarations-init.ly +++ b/ly/declarations-init.ly @@ -16,10 +16,7 @@ %%%% You should have received a copy of the GNU General Public License %%%% along with LilyPond. If not, see . -\version "2.16.0" - -%% < 1.8 compatibility switch -#(ly:set-option 'old-relative) +\version "2.17.6" %% named durations breve = #(ly:make-duration -1 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 @@ -54,10 +55,10 @@ bigger = #1 center = #0 %% FIXME -%% should also set \override Beam #'breakable, but how to do it "portably"? (ie. also +%% should also set \override Beam.breakable, but how to do it "portably"? (ie. also %% working with lyric sections) %% -%% try \once \override Score.Beam #'breakable = ##t +%% try \once \override Score.Beam.breakable = ##t %% rather name \newline, \pageBreak ? break = #(make-music 'LineBreakEvent 'break-permission 'force) @@ -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)