]> git.donarmstrong.com Git - lilypond.git/commit
Guile v2: Set 'show-file-name option correctly.
authorPatrick McCarty <pnorcks@gmail.com>
Thu, 18 Aug 2011 06:18:46 +0000 (23:18 -0700)
committerPatrick McCarty <pnorcks@gmail.com>
Thu, 18 Aug 2011 06:35:02 +0000 (23:35 -0700)
commit95e18ed871abfad57124d6ca48834be2d7ee1044
tree6295bcea3f267ecef14d6d435fb19363ad88b988
parent2763b2de261e4f6263e2d4751b45d7c40f1ef7ea
Guile v2: Set 'show-file-name option correctly.

This fixes a compile issue with Guile v2.

Using the `debug-enable' procedure with non-boolean debug options raises
an error with Guile v2.  The internal type for `show-file-name' is
SCM_OPTION_SCM, and this is why we can't use `debug-enable' here.

The fix is to use `debug-set!', passing the unquoted option name and
the value as arguments (as stated in the Guile documentation).
scm/lily.scm