[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: M-x compile problem under tramp
From: |
Michael Albinus |
Subject: |
Re: M-x compile problem under tramp |
Date: |
Tue, 13 May 2008 23:24:28 +0200 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/23.0.60 (gnu/linux) |
sunway <sunwayforever@gmail.com> writes:
> how ever, when using M-x compile under tramp, the command will always
> return "..finished.." instead of "exited abnormally" when there is
> compilation error. so the Compilation buffer will always be closed.
> how to fix the problem?
You might try something like this:
(setq compile-command "make -k || echo Compilation exited abnormally with code
$?")
Best regards, Michael.