[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: behaviour of `load' with $ characters
From: |
Stefan Monnier |
Subject: |
Re: behaviour of `load' with $ characters |
Date: |
01 Jun 2001 18:16:03 -0400 |
User-agent: |
Gnus/5.09 (Gnus v5.9.0) Emacs/21.0.104 |
>>>>> "Tom" == Tom Capey <tomc@edina.co.uk> writes:
> (load "//spanna/Apps$$/hello.el") ==> t
> (load "//spanna/Apps$/hello.el") error
It's not a bug, it's a feature.
The reason is that `load' is often used in .emacs files where it's
convenient to use environment variables.
Admittedly, I think it's a mistake to signal an error. Emacs should
probably let the string as it is if a $ appears which does not correspond
to an existing environment variable.
Stefan