解決しちったみたいだけど、
compilation-bueer-name-function を設定するほうが正道かも。