David Kastrup wrote:
> 
> 
> 
> What's wrong with using input-file-name ?  This should work for the main
> input file.  If you need more than that, you can likely work with
> something like
> 
> #(read-hash-extend #\< (lambda (c p) (port-filename p)))
> 
> #(display #<)
> 
> This will not work before 2.15.twentyish (when I decided that the
> terrible error messages for Scheme code were not doing anybody a favor,
> and made port-filename, port-line, and port-column point to sensible
> locations).
> 
> 

this only lacks to be mentioned somewhere in the docs!

great! - are there other such undocumented variables?

Eluze
-- 
View this message in context: 
http://old.nabble.com/Fwd%3A--Feature-request--attach-lilypond-code-in-pdf.-tp34131613p34134198.html
Sent from the Gnu - Lilypond - Bugs mailing list archive at Nabble.com.


_______________________________________________
bug-lilypond mailing list
bug-lilypond@gnu.org
https://lists.gnu.org/mailman/listinfo/bug-lilypond

Reply via email to