|
From: | Andreas Politz |
Subject: | Re: Let compilation start in one directory below current one |
Date: | Thu, 23 Oct 2008 10:44:10 +0200 |
User-agent: | Mozilla-Thunderbird 2.0.0.16 (X11/20080724) |
Kevin Rodgers wrote:
stephan.zimmer wrote:I would like to start my compilation in one directory deeper than the current. Unfortunately, a local variable specification as % -*- ... compile-directory: (concat default-directory ".."); ... -*- is not working. Does anyone has an idea (except adding "cd.." to the compile command)?There is no such variable defined or referenced in compile.el. As far as I know, setting compile-command to "cd .." first is the right way to do it.
defun my-compilation-process-setup-function ... if boundp compile-directory setq compile-command ( concat "cd " compile-directory "; " .... ? -ap Ps: Due to the economic crisis I am out of parentheses.
[Prev in Thread] | Current Thread | [Next in Thread] |