[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: emacs.exe --load FILE and current directory on w32
From: |
Lennart Borgman |
Subject: |
Re: emacs.exe --load FILE and current directory on w32 |
Date: |
Sat, 04 Jun 2005 23:58:24 +0200 |
User-agent: |
Mozilla Thunderbird 1.0.2 (Windows/20050317) |
Richard Stallman wrote:
Info says that the startup argujment load looks in the current directory
for the file to load. That does not seem to be correct, at least not on w32.
Would you please provide a complete test case?
Yes, of course.
*** If we have loadme.el:
(message "I am loaded, thank you!")
**********************
This works:
emacs.exe -batch -no-site-file -q somefile.txt -l loadme.el
I am loaded, thank you!
However when somefile.txt is in another directory then it fails:
emacs.exe -batch -no-site-file -q ..\somefile.txt -l loadme.el
Cannot open load file: loadme.el