all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Lennart Borgman <lennart.borgman@gmail.com>
To: "Rüdiger Sonderfeld" <ruediger@c-plusplus.de>
Cc: help-gnu-emacs@gnu.org
Subject: Re: Directory Local Variables: Path to .dir-locals.el
Date: Sat, 12 Dec 2009 16:46:42 +0100	[thread overview]
Message-ID: <e01d8a50912120746j5d02aab1k9f08c5856a55253c@mail.gmail.com> (raw)
In-Reply-To: <loom.20091212T160615-215@post.gmane.org>

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	other threads:[~2009-12-12 15:46 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-12-12 15:11 Directory Local Variables: Path to .dir-locals.el Rüdiger Sonderfeld
2009-12-12 15:46 ` Lennart Borgman [this message]
2009-12-13 17:00   ` Rüdiger Sonderfeld

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=e01d8a50912120746j5d02aab1k9f08c5856a55253c@mail.gmail.com \
    --to=lennart.borgman@gmail.com \
    --cc=help-gnu-emacs@gnu.org \
    --cc=ruediger@c-plusplus.de \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.