]> git.donarmstrong.com Git - lilypond.git/commit
Rewrite `ly-getcwd' for Guile 1.8 backward compat.
authorPatrick McCarty <pnorcks@gmail.com>
Sat, 17 Apr 2010 02:04:12 +0000 (19:04 -0700)
committerPatrick McCarty <pnorcks@gmail.com>
Sat, 17 Apr 2010 02:16:49 +0000 (19:16 -0700)
commit8cbbc71775aa98fd45ea266b576f0c58c703da0f
tree7c42f2134f83229eb4fe63006785d3faf10b0ce0
parent2426fd110be285784ed32fb0ba9f529a566a272c
Rewrite `ly-getcwd' for Guile 1.8 backward compat.

Guile 1.9 (and future Guile 2.0) adheres more strictly to R5RS and R6RS
in that (if ...) and (case ...) clauses cannot contain top-level
bindings created with (define ...).

This commit fixes the compatibility issue, and as an additional benefit,
simplifies the procedure `ly-getcwd'.
scm/lily.scm