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: Fri, 21 Aug 2009 11:23:25 -0400

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]