Subject: add --language argument breaks -l
From: Daniel Llorens <[email-masked]>
To: [email-masked]
Date: Wed, 23 Jan 2013 17:42:31 +0100
List-Id: <debbugs-submit.debbugs.gnu.org>

There is an obvious bug in faabd16… in the handling of "-l"

,arg0 should be ,(car args)

However, even after fixing this, there are problems with the load path

> cat x.scm
(define hello 1) ^D
> guile -l x.scm
[backtrace ...] Unable to find file "ice-9/x.scm" in load path
> guile -L /home/daniel/ -l x.scm
[backtrace ...] Unable to find file "ice-9/x.scm" in load path

I can fix this by putting back load instead of (@@ (ice-9 command-line) load/lang), but I don't understand why this should be. load/lang just calls load, so it must be some scope issue.