Is there any way to evaluate (expand-file-name) in .dir-locals.el?
Posted
by vava
on Stack Overflow
See other posts from Stack Overflow
or by vava
Published on 2010-05-14T02:59:56Z
Indexed on
2010/05/14
3:04 UTC
Read the original article
Hit count: 391
I'm trying to move all my compilation config (compilation-command
and compilation-directory
to be exact) to .dir-locals.el
file at the top of my project. It is working fine except that I can't find the way to use expand-file-name
there and without it I have to use absolute path, which is not really convenient.
So, is there a way (or a dirty hack) to make local directory variables to evaluate values before assigning?
© Stack Overflow or respective owner