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?