[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
recompile uses wrong buffer.. hint
From: |
Stephan Stahl |
Subject: |
recompile uses wrong buffer.. hint |
Date: |
Mon, 7 Jun 2004 10:40:16 +0200 (CEST) |
User-agent: |
SquirrelMail/1.4.0 |
Hi.
I tried to find a solution to this problem and at least found what was
causing this strange behaviour.
The function `compilation-buffer-name' tries to get a name for the
compilation buffer. There is a test:
((and (eq major-mode 'compilation-mode)
(equal mode-name (nth 2 compilation-arguments)))
(buffer-name))
that equal will (always?) return nil because the structure of
compilation-arguments has changed in the recent compile.el rewrite.
Because of this the function will always return a default name. Maybe its
sufficient to remove that equal but i'm not sure..
--
Stephan Stahl
- recompile uses wrong buffer.. hint,
Stephan Stahl <=