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

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

Re: Directory Local Variables: Path to .dir-locals.el


From: Lennart Borgman
Subject: Re: Directory Local Variables: Path to .dir-locals.el
Date: Sat, 12 Dec 2009 16:46:42 +0100

On Sat, Dec 12, 2009 at 4:11 PM, Rüdiger Sonderfeld
<ruediger@c-plusplus.de> wrote:
> Hello,
>
> is there a way to get the location of the .dir-locals.el file inside the
> .dir-locals.el file?
>
> I try to do something like that
>
> ((c++-mode .
>  ((compile-command (concat "cd " PATH-TO-DIR-LOCALS-EL " && make")))))
>
> Basically I need something like default-directory but for the .dir-locals.el.


locate-dominating-file?




reply via email to

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