|
From: | Valentin Baciu |
Subject: | Re: all I wanted to do was make the compilation-mode-hook the sole visible buffer |
Date: | Wed, 30 Nov 2011 11:03:06 +0200 |
>>>>> "TN" == Thien-Thi Nguyen <ttn@gnuvola.org> writes:It turns out that is not what I want. I want it to be the sole window visible.
TN> (add-to-list 'same-window-buffer-names "*compilation*")
OK, I can use
(add-hook
'compilation-mode-hook
(function
(lambda ()
(switch-to-buffer "*compilation*");alas, forget using any personal compilation-buffer-name-function
(delete-other-windows))))
[Prev in Thread] | Current Thread | [Next in Thread] |