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

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

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


From: Rüdiger Sonderfeld
Subject: Directory Local Variables: Path to .dir-locals.el
Date: Sat, 12 Dec 2009 15:11:09 +0000 (UTC)
User-agent: Loom/3.14 (http://gmane.org/)

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.

Regards,
Rüdiger






reply via email to

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