help-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: all I wanted to do was make the compilation-mode-hook the sole visib


From: jidanni
Subject: Re: all I wanted to do was make the compilation-mode-hook the sole visible buffer
Date: Wed, 30 Nov 2011 11:46:19 +0800

>>>>> "TN" == Thien-Thi Nguyen <address@hidden> writes:
TN>   (add-to-list 'same-window-buffer-names "*compilation*")
It turns out that is not what I want. I want it to be the sole window visible.
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))))



reply via email to

[Prev in Thread] Current Thread [Next in Thread]