Auto opening files / ftp location in XEmacs
I've been using XEmacs for a while, but I've never really dug into the dirty parts of configuring it. Recently I decided to try my hand at having it automate some of the process that I go through each time I open the app.
Usually, I open XEmacs, connect to a FTP site (using EFS), and begin my coding from there.
So far I've managed to save the username/password for the ftp site so that I need not enter it any more when I connect. My next step would be to have XEmacs automatically connect to the site when it opens.
I tried adding (find-file "ftp://firstname.lastname@example.org:/") into my custom.el file and it does attempt to open it, but just not quite correctly.
Instead of opening "ftp://email@example.com:/" it opens "/some/directory/path/ftp://firstname.lastname@example.org:/"
It appears to be appending my URL to whatever is, by default, in the file open buffer.
How do I make it open just my URL without all the other stuff?