]> git.donarmstrong.com Git - lilypond.git/commitdiff
Issue 3093: Declare absolute-volume-alist and instrument-equalizer-alist as session...
authorDavid Kastrup <dak@gnu.org>
Wed, 9 Jan 2013 14:44:22 +0000 (15:44 +0100)
committerDavid Kastrup <dak@gnu.org>
Mon, 14 Jan 2013 08:32:42 +0000 (09:32 +0100)
At least instrument-equalizer-alist is advertised as sort of a
user-settable variable, and while we ask users to tamper with it, we
might as well restore it at the beginning of next session.  This does
not really replace a proper user interface instead of the pathetic
excuse we have for it now.

scm/midi.scm

index 4888ee3a81ed49712e32d293f046b892d7bc5079..48079928221212f9fb12e5d26b7ff5769025a179 100644 (file)
@@ -23,7 +23,7 @@
 ;; this is broken: we should not ever export variables from Scheme.
 
 ;; define factor of total volume per dynamic marking
-(define-public absolute-volume-alist '())
+(define-session-public absolute-volume-alist '())
 (set! absolute-volume-alist
       (append
        '(
@@ -47,7 +47,7 @@
   (assoc-get s absolute-volume-alist))
 
 ;; define factors of total volume of minimum and maximum volume
-(define-public instrument-equalizer-alist '())
+(define-session-public instrument-equalizer-alist '())
 (set! instrument-equalizer-alist
       (append
        '(