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

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

Re: Newbie error compiling program


From: kgold
Subject: Re: Newbie error compiling program
Date: 9 Feb 2004 21:55:06 GMT

Kai Grossjohann <kai@emptydomain.de> writes:
> "youKnowme" <phoenix@home.net> writes:
> 
> > Thank you, this fixed the problem. I have another related question. How do i
> > get emacs to know that a program that i want to execute is in my current
> > directory? At the moment, I have to keep typing ./ before the executable
> > name. How can I set it up to do this automatically?
> 
> The environment variable $PATH can contain the entry ".".
> 
> But I don't recommend to do this.  Imagine you do 
> 
>     cd /tmp
>     ls -la
> 
> and some bad guy has written /tmp/ls which deletes your hard disk.

How about if you put the . at the end of the search path?

-- 


reply via email to

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