[gnu.emacs] make it use $cwd for cmd-line filenames

holtz@zurich.csmil.umich.edu (Brian Holtz) (10/23/89)

In

%emacs foo

how do I make emacs look for foo in $cwd instead of $home?
This would seem simple enough, but the info doesn't say how under
Command Switches, Visiting Files, or File names.  The man page is
mute on the subject as well.

amanda@iesd.auc.dk (Per Abrahamsen) (10/23/89)

In article <1989Oct22.201244.15571@csmil.umich.edu>,
holtz@zurich.csmil.umich.edu (Brian Holtz) writes:

   In

   %emacs foo

   how do I make emacs look for foo in $cwd instead of $home?

Either

% unsetenv PWD
% emacs foo

or

% setenv PWD $cwd
% emacs foo

It might help to put "unsetenv PWD" in your .login or .cshrc file.

--
Per Abrahamsen,  amanda@iesd.auc.dk, {...}!uunet!mcvax!dkuug!iesd!amanda
Multi-player NetHack is a myth.	-- a fortune cookie.