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

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

Re: Default compile directory


From: Sumit Narayan
Subject: Re: Default compile directory
Date: Tue, 25 Aug 2009 11:35:07 -0400

Back to this topic.

This only works if I my frame has some code open. But if I am in an
eshell frame, it goes back to the default compile command - 'make -k'.
Is that how it is supposed to be?

Thanks,
Sumit.



On Fri, Aug 21, 2009 at 11:23 AM, Sumit Narayan<sumnaray@gmail.com> wrote:
> Thanks Politz. I was also missing a dot.
>
> For those who might be looking at this in future, this is how I got it
> working. Add
>
> ((nil . ((compile-command . "cd <project root directory>; make"))))
>
> in <project root directory>/.dir-locals.el.
>
> Sumit.
>
>
>
> On Fri, Aug 21, 2009 at 10:32 AM, A.Politz<politza@googlemail.com> wrote:
>> On Aug 18, 9:59 pm, Sumit Narayan <sumna...@gmail.com> wrote:
>>
>>>
>>> This is what I did:
>>>
>>> Added
>>> ((nil . ((setq compile-command "cd <project root directory>; make"))))
>>> in <project root directory>/.dir-locals.el.
>>>
>>> [does not work]
>>
>> According to the info doc, the syntax is similar to a let-list.
>> So, delete the 'setq' and it should work.
>>
>>
>>
>> -ap
>>
>




reply via email to

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