[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Starting Emacs with different init file

From: Joachim Nilsson
Subject: Re: Starting Emacs with different init file
Date: Tue, 28 Oct 2003 18:46:08 +0100
User-agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.4) Gecko/20031015 Debian/1.4-0jds2

Dan Anderson wrote:
You could leave an empty .emacs file on your main file, and then M-x
load-file RET filename to load the .emacs file from the directory, but
that would probably be more trouble then it's worth.


I wonder if you did something like:
(load-file "./.emacs")
in your .emacs, would that work?

That did the trick!

Now, if only I knew how to traverse up the dir tree from where I start
emacs and let it take the first init file one it finds until it reaches
$HOME/.emacs-default. Like this:




Looks like a recursive problem to me, and maybe even something I can put together myself even.


Joachim Nilsson :: <joachim AT vmlinux DOT org>
+46(0)21-123348 :: <>

reply via email to

[Prev in Thread] Current Thread [Next in Thread]