help-gnu-emacs
[Top][All Lists]
Advanced

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

Re: find-file, default path


From: Lennart Borgman
Subject: Re: find-file, default path
Date: Tue, 19 Jul 2005 18:23:54 +0200
User-agent: Mozilla Thunderbird 1.0.2 (Windows/20050317)

Alex Schroeder wrote:

Jan Guido Donath schrieb:
is it possible to pass find-file a default path?
i do have all my files in a certain directory, but find-file aka C-x C-f
always starts where the emacs bins are located.

Just start emacs from a different directory or with a different "working
directory".
Or set `default-directory' in your .emacs:

  (setq default-directory "/my/files/directory/")

`default-directory' will later change to the dir of the file you are editing.




reply via email to

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